Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Commit 2198db5

Browse files
Update TDF spec to latest design (#27)
* Update TDF spec to latest design * Minor fixes * Cosmetic fixes * Prefixing this with `obj` is vestigial, and pointless * Fix typos * Remove stray line * Bring in some ancient fixes from #19 * Review comments * Update schema/AttributeObject.md Co-authored-by: Dave Mihalcik <38867245+dmihalcik-virtru@users.noreply.github.com> * Drop this * Review comments Co-authored-by: Dave Mihalcik <38867245+dmihalcik-virtru@users.noreply.github.com>
1 parent a5f7fcf commit 2198db5

16 files changed

Lines changed: 376 additions & 371 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
### Checklist
66

77
- [ ] A clear description of the change has been included in this PR.
8-
- [ ] The changelog has been updated.
8+
- [ ] Spec Semver version has been updated in the VERSION file
9+
- [ ] Tagged this branch with new semver version and an annotation describing the change (ex: `git tag -a 4.1.0 -m "Spec version 4.1.0 - did a thing"`)
910
- [ ] All schema validation tests have been updated appropriately and are passing.
1011
- [ ] Version numbers have been updated as per the [Versioning Guidelines](../CONTRIBUTING.md#verison-changes).
1112
- [ ] Major/minor version changes only: A writeup has been included discussing the motivation and impact of this change.

CHANGELOG.md

Lines changed: 0 additions & 55 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,27 @@ Contributions to the TDF3 specification are welcome! Please be sure to follow th
77
All changes must be proposed using a pull request against this repo. See the GitHub [howto](https://help.github.com/en/articles/about-pull-requests) for more information about publishing a PR from a fork. The PR template checklist must be satisfied before review can take place (with the exception of blocking items like wait time).
88

99
Changes must update version numbers as required (see [guidelines](#version-changes)).
10+
1011
* _Major_ version changes must include a detailed writeup motivating the change and its impact. These PRs must be left open for review for at least 7 days.
1112
* _Minor_ version changes must include a brief writeup motivating the change and its impact. These PRs must be left open for review for at least 3 days.
1213

1314
### Version Changes
1415

1516
We follow the [semver](https://semver.org/spec/v2.0.0.html) guidelines on version changes, although reviewers may exercise their discretion on individual PRs.
17+
1618
* _Major_ version revs when a backwards-incompatible change is made. (Example: new required manifest fields or new required API call.)
1719
* _Minor_ version revs when backwards-compatible functionality is added. (Example: new optional API parameter.)
1820
* _Patch_ version revs when a change does not affect functionality but could affect how readers interpret the spec. (Example: Substantive new diagram illustrating a previously poorly-documented protocol interaction.)
1921
* Cosmetic changes should _not_ affect the version number. (Example: Fixing typos, reformatting docs.)
2022

21-
There are three version numbers which contributors may need to change depending on the type and breadth of the proposed change:
22-
* **Project version** - Version of the top-level project specification. This version should change accordingly if changes are made to the encrypt or decrypt workflow, or if new components or interactions are added to the architecture. Note that the project version isn't necessarily dependent on the API and schema versions, for instance, API parameters or the manifest format can change without affecting the overall workflow.
23-
* **Schema version** - Shared data objects are versioned indepedent of the project version. If the schema for any of these objects changes, then the corresponding schema version should be changed accordingly.
24-
* **API version** - Each swagger-defined API has an associated version number. If the API changes then the corresponding swagger version number should be changed accordingly.
23+
The spec version is this repo's most recent semver Git tag - this means that if the spec version is 4.1.0, then the protocol version and all associated schema versions are also 4.1.0
2524

2625
Any changes that affect _project_ version must update both `git tag` and the [VERSION](VERSION) file.
2726

28-
Any changes that affect _schema_ versions must add or update [validation tests](schema/test/) accordingly.
27+
Rather than use a changelog, we ask that you use annotated `git tags` when bumping the spec Semver, and use the annotation message to describe the change.
28+
> Example: `git tag -a 4.1.0 -m "Spec version 4.1.0 - twiddled a doohickey"`)
2929
30+
A list of `git tag` versions and their annotations can be generated at will via `git tag -n`
3031

3132
## Asking Questions & Submitting Feeback
3233

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
4.1.0

api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# API
1+
# OpenAPI Specs
22

3-
This directory contains the swagger definitions for TDF service APIs.
3+
This directory contains example OpenAPI definitions for TDF service APIs.

0 commit comments

Comments
 (0)