generated from stac-extensions/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
117 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://stac-extensions.github.io/storage/v2.0.0/platforms/aws-s3.json", | ||
"title": "AWS S3", | ||
"type": "object", | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "aws-s3" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"platform": { | ||
"const": "https://{bucket}.s3.{region}.amazonaws.com" | ||
}, | ||
"bucket": { | ||
"$comment": "See https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html", | ||
"type": "string", | ||
"pattern": "^[a-z0-9][a-z0-9-.]{1,61}[a-z0-9]$" | ||
}, | ||
"region": { | ||
"type": "string", | ||
"pattern": "^[a-z0-9-]+$" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://stac-extensions.github.io/storage/v2.0.0/platforms/custom-s3.json", | ||
"title": "Generic S3", | ||
"type": "object", | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "custom-s3" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"$comment": "No specific validation rules apply" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://stac-extensions.github.io/storage/v2.0.0/platforms/ms-azure.json", | ||
"title": "Microsoft Azure", | ||
"type": "object", | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "ms-azure" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"properties": { | ||
"platform": { | ||
"const": "https://{account}.blob.core.windows.net" | ||
}, | ||
"account": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"schemaMap": { | ||
"https://stac-extensions.github.io/storage/v2.0.0/schema.json": "./json-schema/schema.json", | ||
"https://stac-extensions.github.io/storage/v2.0.0/platforms/aws-s3.json": "./json-schema/platforms/aws-s3.json", | ||
"https://stac-extensions.github.io/storage/v2.0.0/platforms/custom-s3.json": "./json-schema/platforms/custom-s3.json", | ||
"https://stac-extensions.github.io/storage/v2.0.0/platforms/ms-azure.json": "./json-schema/platforms/ms-azure.json" | ||
} | ||
} |