This specification defines standard constraints on the vocabulary for Tracked Resource Sets.
This document was last revised or approved by the membership of OASIS on the above date. The level of approval is also listed above. Check the “Latest stage” location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Open Project are listed at https://open-services.net/about/.
Comments on this work can be provided by opening issues in the project repository or by sending email to the project’s public comment list oslc-op@lists.oasis-open-projects.org.
The English version of this specification is the only normative version. Non-normative translations may also be available. Note that any machine-readable content (Computer Language Definitions) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.
[OSLC-TRS-v3.0]
OSLC Tracked Resource Set Version 3.0. Part 3: Constraints.
Edited by Nick Crossley.
23 July 2023.
OASIS Standard.
https://docs.oasis-open-projects.org/oslc-op/trs/v3.0/os/tracked-resource-set-shapes.html.
Latest stage: https://docs.oasis-open-projects.org/oslc-op/trs/v3.0/tracked-resource-set-shapes.html.
Copyright © OASIS Open 2023. All Rights Reserved.
All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
This specification is published under the Attribution 4.0 International (CC BY 4.0). Portions of this specification are also provided under the Apache License 2.0.
All contributions made to this project have been made under the OASIS Contributor License Agreement (CLA).
For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Open Projects IPR Statements page.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Open Project or OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Project Specification or OASIS Standard, to notify the OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.
OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Open Project that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Open Project Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.
The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark/ for above guidance.
This section is non-normative.
This specification defines standard constraints on the vocabulary for Tracked Resource Sets.
RDF vocabularies define the terms and resources for a domain of interest, in this case, OSLC Tracked Resource Sets. These vocabularies are often specified in an open manner, without providing information such as property domain and range assertions, cardinalities, etc. This helps keep the vocabulary applicable for a wide range of uses and furthering integration with other vocabularies.
However, it is often desirable to closed down a vocabulary with specific constraints to facilitate using the vocabulary for a specific purpose. This document specifies the constraints for using the OSLC Tracked Resource Set vocabulary in OSLC. Different sets of constraints may be applied to a vocabulary in order to tailor its use, without overly constraining the vocabulary for other usages.
These constraints apply to the core vocabulary defined in OSLC Tracked Resource Set Version 3.0. Part 2: Vocabulary.
Note that this document is informative; the normative document for the vocabulary is the machine-readable source in [VOCAB].
This section is non-normative.
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this specification are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.
This section specifies the constraints for Tracked Resource Set resources. The resource properties are not limited to the ones defined in this specification, TRS Servers may provide additional properties. It is recommended that any additional properties exist in their own unique namespace and not use the namespaces defined in these specifications.
http://open-services.net/ns/core/trs#TrackedResourceSet
http://open-services.net/ns/core/trs#Base
Prefixed Name | Occurs | Read-only | Value-type | Representation | Range | Description |
---|---|---|---|---|---|---|
ldp:hasMemberRelation |
Exactly-one | true | Resource | Reference | Unspecified | The membership predicate for this Base container. |
ldp:member |
Zero-or-many | true | Resource | Reference | Unspecified | A Tracked Resource that is a member of the Tracked Resource Set.
ldp:member is the preferred predicate,
but the actual predicate is indicated by ldp:hasMemberRelation . |
rdf:type |
Zero-or-many | unspecified | Resource | Reference | rdfs:Class |
A resource type URI. Clients can infer a resource type of trs:Base , or its superclass ldp:DirectContainer . |
trs:cutoffEvent |
Exactly-one | true | AnyResource | Either | trs:Deletion , trs:Modification , trs:Creation |
The URI of an entry in the Change Log at and after which all changes have already been included in the Base. |
http://open-services.net/ns/core/trs#ChangeLog
http://open-services.net/ns/core/trs#Creation
Prefixed Name | Occurs | Read-only | Value-type | Representation | Range | Description |
---|---|---|---|---|---|---|
trs:changed |
Exactly-one | true | Resource | Reference | Unspecified | The resource that has been created, modified, or deleted. |
trs:order |
Exactly-one | true | integer | N/A | Unspecified | A non-negative integer number indicating the sequence in time of the Change Event. There MAY be gaps in the sequence [CC-7], but a more recently available Change Event MUST have a larger number than any previously avalable Change Event as accessed by GET on the change log [CC-8]. |
trspatch:afterETag |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, gives the final HTTP entity tag of the resource referenced in the trs:changed property - the entity-tag value that would have been returned in the HTTP ETag response header if the resource had been retrieved immediately after the change.
Clients can use this as the expected trspatch:beforeETag value in a chain of patch events for a tracked resource. |
trspatch:beforeETag |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, gives the initial HTTP entity tag of the antecedent resource for a patch event. This is the entity-tag value that would be returned in the HTTP ETag response header if the antecedent resource had been retrieved immediately before the change. If this property is missing, or if the entity-tag value does not match the current state of the antecedent resource, the patch should be ignored and the event treated as a normal modification event. |
trspatch:createdFrom |
Zero-or-one | true | Resource | Reference | Unspecified | This property MUST NOT be present unless the trspatch:rdfPatch property is also present [CC-9], indicating this change event is annotated with a patch.
This property, when present, identifies the antecedent resource to be used to define the "before" state of the patch. If omitted, the antecedent resource is the resource referenced in the trs:changed property. |
trspatch:rdfPatch |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, describes a patch to be applied to the antecedent resource’s RDF representation. A patch cannot describe a change to the non-RDF contents of a resource.
The result of applying the patch describes the representation of the resource referenced in the trs:changed property immediately after this change event.
This property is used with trs:Modification and trs:Creation Change Events ; it is not meaningful for trs:Deletion Change Events. The format of the patch property is defined at TRS Patch. |
http://open-services.net/ns/core/trs#Modification
Prefixed Name | Occurs | Read-only | Value-type | Representation | Range | Description |
---|---|---|---|---|---|---|
trs:changed |
Exactly-one | true | Resource | Reference | Unspecified | The resource that has been created, modified, or deleted. |
trs:order |
Exactly-one | true | integer | N/A | Unspecified | A non-negative integer number indicating the sequence in time of the Change Event. There MAY be gaps in the sequence [CC-10], but a more recently available Change Event MUST have a larger number than any previously avalable Change Event as accessed by GET on the change log [CC-11]. |
trspatch:afterETag |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, gives the final HTTP entity tag of the resource referenced in the trs:changed property - the entity-tag value that would have been returned in the HTTP ETag response header if the resource had been retrieved immediately after the change.
Clients can use this as the expected trspatch:beforeETag value in a chain of patch events for a tracked resource. |
trspatch:beforeETag |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, gives the initial HTTP entity tag of the antecedent resource for a patch event. This is the entity-tag value that would be returned in the HTTP ETag response header if the antecedent resource had been retrieved immediately before the change. If this property is missing, or if the entity-tag value does not match the current state of the antecedent resource, the patch should be ignored and the event treated as a normal modification event. |
trspatch:createdFrom |
Zero-or-one | true | Resource | Reference | Unspecified | This property MUST NOT be present unless the trspatch:rdfPatch property is also present [CC-12], indicating this change event is annotated with a patch.
This property, when present, identifies the antecedent resource to be used to define the "before" state of the patch. If omitted, the antecedent resource is the resource referenced in the trs:changed property. |
trspatch:rdfPatch |
Zero-or-one | true | string | N/A | Unspecified | This property, when present, describes a patch to be applied to the antecedent resource’s RDF representation. A patch cannot describe a change to the non-RDF contents of a resource.
The result of applying the patch describes the representation of the resource referenced in the trs:changed property immediately after this change event.
This property is used with trs:Modification and trs:Creation Change Events ; it is not meaningful for trs:Deletion Change Events. The format of the patch property is defined at TRS Patch. |
http://open-services.net/ns/core/trs#Deletion
OSLC TRS Servers MUST use the vocabulary terms defined here where required, and with the meanings defined here. Servers MAY augment this vocabulary with additional terms. [CC-15]