Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sMorrone authored May 6, 2024
1 parent d6156c5 commit b88061b
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions ap-resources/v1.0.0/ap-resource-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "smorrone.github.io/test.schema/ap-resources/v1.0.0/ap-schema.json",
"title": "Analysis and Processing Resources (A/P) Extension",
"description": "STAC Storage Extension to a STAC Item and STAC Assets for the purpose of documenting analysis and processing resources.",
"type": "object",
"required": [
"stac_extensions"
],
"properties": {
"stac_extensions": {
"type": "array",
"contains": {
"const": "smorrone.github.io/test.schema/ap-resources/v1.0.0/ap-schema.json"
}
}
},
"oneOf": [
{
"$comment": "This is the schema for STAC Items.",
"type": "object",
"required": [
"type",
"properties",
"assets"
],
"properties": {
"type": {
"const": "Feature"
},
"properties": {
"$ref": "#/definitions/fields"
},
"assets": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/fields"
}
}
}
},
{
"$comment": "This is the schema for STAC Collections",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"const": "Collection"
},
"assets": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/fields"
}
},
"item_assets": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/fields"
}
}
}
}
],
"definitions": {
"fields": {
"type": "object",
"properties": {
"ap-resource:input_data_used": {
"title": "Input_Data_used",
"type": "string"
},
"ap-resource:output_data_obtained": {
"title": "Output_Data_obtained",
"type": "string"
}
}
}
}
}

0 comments on commit b88061b

Please sign in to comment.