Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -104,7 +106,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`template`](../metadata.md#template)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -109,7 +111,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

## Payload

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -105,7 +107,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`template`](../metadata.md#template)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -109,7 +111,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`parameters`](../metadata.md#parameters)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -105,7 +107,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`template`](../metadata.md#template)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -109,7 +111,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`parameters`](../metadata.md#parameters)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -95,7 +97,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`ref`](../metadata.md#ref)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

### [`ver`](../metadata.md#ver)

Expand All @@ -106,7 +110,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`revocations`](../metadata.md#revocations)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -128,7 +130,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`ref`](../metadata.md#ref)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -165,7 +167,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`ref`](../metadata.md#ref)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -105,7 +107,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`template`](../metadata.md#template)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -109,7 +111,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`parameters`](../metadata.md#parameters)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ timestamp of when the document was created.

#### [`id`](../metadata.md#id) Validation

IF [`ver`](../metadata.md#ver) does not == [`id`](../metadata.md#id) then a document with
[`id`](../metadata.md#id) and [`ver`](../metadata.md#ver) being equal *MUST* exist.
The document ID validation is performed based on timestamp thresholds:

### [`ver`](../metadata.md#ver)
* If `future_threshold` is configured, the document `id` cannot be too far in the future from the
current time.
* If `past_threshold` is configured, the document `id` cannot be too far in the past from the
current time.

<!-- markdownlint-disable MD033 -->
| Parameter | Value |
Expand All @@ -107,7 +109,12 @@ The first version of the document must set [`ver`](../metadata.md#ver) == [`id`]

#### [`ver`](../metadata.md#ver) Validation

The document version must always be >= the document ID.
1. The document version must always be >= the document ID.
2. IF `ver` does not == `id` then a document with `id` and `ver` being equal *MUST* exist.
3. When a document with the same `id` already exists, the new document's `ver` must be greater than
the latest known submitted version for that `id`.
4. When a document with the same `id` already exists, the new document's `type` must be the same as
the latest known submitted document's `type` for that `id`.

### [`parameters`](../metadata.md#parameters)

Expand Down
Loading
Loading