Skip to content

Commit 2134b22

Browse files
committed
fix: add text around exclude but not include
1 parent 810b944 commit 2134b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ example:
9898
if `properties` is included and `properties.datetime` is excluded, then
9999
`datetime` should not be in `properties`, but every other nested field should be.
100100
6. If the same field is present in both `include` and `exclude`, it should be included.
101+
7. If the a field is not present in `include`, but it is in `exclude`, it should be excluded.
101102

102103
### `null` vs. empty vs. missing
103104

@@ -115,6 +116,7 @@ default set (i.e. the required fields for a valid STAC Item) should be returned.
115116
| missing | ["a", "b"] | ALL except for ["a", "b"] |
116117
| `null` or empty | ["a", "b"] | DEFAULT except for ["a", "b"] |
117118
| ["a", "b"] | ["a"] | ["a", "b"] |
119+
| ["a"] | ["a", "b"] | ["a"] |
118120
| ["a.b"] | ["a"] | `a.b` should be the only field in `a` |
119121
| ["a"] | ["a.b"] | `a` should be included, but it should not include `a.b` |
120122

0 commit comments

Comments
 (0)