Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
fix STAC examples linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Apr 18, 2024
1 parent a1192d3 commit 43b8691
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 18 deletions.
12 changes: 10 additions & 2 deletions examples/item_basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,21 @@
"value": 0,
"name": "BACKGROUND",
"description": "Background non-city.",
"color_hint": [0, 0, 0]
"color_hint": [
0,
0,
0
]
},
{
"value": 1,
"name": "CITY",
"description": "A city is detected.",
"color_hint": [0, 0, 255]
"color_hint": [
0,
0,
255
]
}
]
}
Expand Down
52 changes: 39 additions & 13 deletions examples/item_eo_bands.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,19 +506,45 @@
],
"$comment": "Following 'eo:bands' is required to fulfil schema validation of 'eo' extension.",
"eo:bands": [
{"name": "coastal"},
{"name": "blue"},
{"name": "green"},
{"name": "red"},
{"name": "rededge1"},
{"name": "rededge2"},
{"name": "rededge3"},
{"name": "nir"},
{"name": "nir08"},
{"name": "nir09"},
{"name": "cirrus"},
{"name": "swir16"},
{"name": "swir22"}
{
"name": "coastal"
},
{
"name": "blue"
},
{
"name": "green"
},
{
"name": "red"
},
{
"name": "rededge1"
},
{
"name": "rededge2"
},
{
"name": "rededge3"
},
{
"name": "nir"
},
{
"name": "nir08"
},
{
"name": "nir09"
},
{
"name": "cirrus"
},
{
"name": "swir16"
},
{
"name": "swir22"
}
]
},
"source_code": {
Expand Down
18 changes: 15 additions & 3 deletions examples/item_multi_io.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@
"value": 1,
"name": "VEGETATION",
"description": "pixels where vegetation was detected",
"color_hint": [0, 255, 0]
"color_hint": [
0,
255,
0
]
}
],
"post_processing_function": null
Expand All @@ -169,13 +173,21 @@
"value": 0,
"name": "NON_VEGETATION",
"description": "background pixels",
"color_hint": [255, 255, 255]
"color_hint": [
255,
255,
255
]
},
{
"value": 1,
"name": "VEGETATION",
"description": "pixels where vegetation was detected",
"color_hint": [0, 0, 0]
"color_hint": [
0,
0,
0
]
}
],
"post_processing_function": {
Expand Down

0 comments on commit 43b8691

Please sign in to comment.