Skip to content

Commit 5926678

Browse files
updated versions for validation
1 parent 8d3314a commit 5926678

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

.github/remark.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
plugins:
2+
# GitHub Flavored Markdown
3+
- remark-gfm
24
# Check links
35
- validate-links
46
# Apply some recommended defaults for consistency
@@ -8,6 +10,7 @@ plugins:
810
# General formatting
911
- - remark-lint-emphasis-marker
1012
- '*'
13+
- remark-lint-no-undefined-references
1114
- remark-lint-hard-break-spaces
1215
- remark-lint-blockquote-indentation
1316
- remark-lint-no-consecutive-blank-lines
@@ -37,7 +40,7 @@ plugins:
3740
- - remark-lint-unordered-list-marker-style
3841
- '-'
3942
- - remark-lint-list-item-indent
40-
- space
43+
- space
4144
# Tables
4245
- remark-lint-table-pipes
4346
- remark-lint-no-literal-urls

examples/example-landsat8.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stac_version": "1.0.0-rc.2",
2+
"stac_version": "1.0.0",
33
"stac_extensions": [
44
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
55
"https://stac-extensions.github.io/view/v1.0.0/schema.json"

examples/example-sentinel1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"stac_version": "1.0.0-rc.1",
2+
"stac_version": "1.0.0",
33
"stac_extensions": [
44
"https://stac-extensions.github.io/sar/v1.0.0/schema.json",
55
"https://stac-extensions.github.io/sat/v1.0.0/schema.json"

json-schema/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157
},
158158
"sat:orbit_state_vectors": {
159159
"type": "object",
160+
"$comment": "The key is a date-time string, and the value is an array of numbers.",
160161
"patternProperties": {
161-
"$comment": "The key is a date-time string, and the value is an array of numbers.",
162162
"^([\\+-]?\\d{4}(?!\\d{2}\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$": {
163163
"type": "array",
164164
"items": {

package.json

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "stac-extensions",
2+
"name": "stac-extension-sat",
33
"version": "1.0.0",
44
"scripts": {
55
"test": "npm run check-markdown && npm run check-examples",
@@ -8,13 +8,14 @@
88
"format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/sat/v1.0.0/schema.json=./json-schema/schema.json"
99
},
1010
"dependencies": {
11-
"remark-cli": "^8.0.0",
12-
"remark-lint": "^7.0.0",
13-
"remark-lint-no-html": "^2.0.0",
14-
"remark-preset-lint-consistent": "^3.0.0",
15-
"remark-preset-lint-markdown-style-guide": "^3.0.0",
16-
"remark-preset-lint-recommended": "^4.0.0",
17-
"remark-validate-links": "^10.0.0",
18-
"stac-node-validator": "^1.0.0"
11+
"remark-cli": "^12.0.0",
12+
"remark-gfm": "^4.0.0",
13+
"remark-lint": "^9.1.2",
14+
"remark-lint-no-html": "^3.1.2",
15+
"remark-preset-lint-consistent": "^5.1.2",
16+
"remark-preset-lint-markdown-style-guide": "^5.1.3",
17+
"remark-preset-lint-recommended": "^6.1.3",
18+
"remark-validate-links": "^13.0.0",
19+
"stac-node-validator": "^1.3.0"
1920
}
2021
}

0 commit comments

Comments
 (0)