You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)
6
6
7
7
## Unreleased
8
8
9
+
## [v1.13.0] - 2026-04-29
10
+
11
+
### Added
12
+
13
+
- Support for FastJSONSchema validation method with --fast flag to validate items, item collections ([#150](https://github.com/stac-utils/stac-check/pull/150))
14
+
9
15
### Updated
10
16
11
17
- Updated publish script to use pyproject.toml instead of setup.py ([#149](https://github.com/stac-utils/stac-check/pull/149))
@@ -322,7 +328,8 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)
--pydantic Use stac-pydantic for enhanced validation with Pydantic models.
95
96
--verbose Show verbose error messages.
96
97
-o, --output FILE Save output to the specified file.
98
+
--fast Use FastJSONSchema for high-speed validation. Skips best
99
+
practices and geometry checks for maximum performance.
97
100
--item-collection Validate item collection response. Can be combined with
98
101
--pages. Defaults to one page.
99
102
--collections Validate collections endpoint response. Can be combined with
@@ -421,6 +424,64 @@ No ASSET format errors!
421
424
This object has 4 links
422
425
</pre>
423
426
427
+
### Fast Validation
428
+
429
+
For large STAC collections or when you need maximum validation speed, use the `--fast` flag to enable FastJSONSchema validation. This mode skips best practices and geometry checks, focusing only on STAC spec compliance.
430
+
431
+
**Fast Validation of a Large Item Collection:**
432
+
433
+
```bash
434
+
stac-check large_collection.json --fast
435
+
```
436
+
437
+
<pre><b>stac-check: STAC spec validation and linting tool</b>
❌ STAC Spec Violation: Missing {'rel': 'collection'} in links array.
460
+
Affected Items: 2 | Examples: item_1, item_2
461
+
</pre>
462
+
463
+
**Fast Validation with Verbose Output:**
464
+
465
+
You can combine `--fast` with `--verbose` to see detailed validation output for each item:
466
+
467
+
```bash
468
+
stac-check large_collection.json --fast --verbose
469
+
```
470
+
471
+
This will show detailed validation information for each item while still maintaining the speed benefits of FastJSONSchema.
472
+
473
+
**Performance Comparison:**
474
+
475
+
- **`--fast` mode**: ~0.25ms per item (skips best practices and geometry)
476
+
- **Regular mode**: ~1-2ms per item (includes all checks)
477
+
- **Speedup**: 4-8x faster for large collections
478
+
479
+
Use `--fast` when:
480
+
- Validating large collections (100+ items)
481
+
- You only need STAC spec compliance
482
+
- You want to skip best practices checks
483
+
- Performance is critical
484
+
424
485
### STAC API Validation
425
486
426
487
stac-check can validate STAC API endpoints, including item collections and collections endpoints. It supports pagination and can validate multiple pages of results.
0 commit comments