{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://stac-extensions.github.io/ssys/v1.1.0/schema.json", "title": "SSYS Extension", "description": "STAC Solar System Extension for STAC Items, Catalogs, or Collections.", "oneOf": [ { "$comment": "This is the schema for STAC Items.", "allOf": [ { "$ref": "#/definitions/stac_extensions" }, { "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.", "allOf": [ { "type": "object", "required": [ "type" ], "properties": { "type": { "const": "Collection" }, "assets": { "type": "object", "additionalProperties": { "$ref": "#/definitions/fields" } }, "item_assets": { "type": "object", "additionalProperties": { "$ref": "#/definitions/fields" } } } }, { "$ref": "#/definitions/stac_extensions" } ] } ], "definitions": { "stac_extensions": { "type": "object", "required": [ "stac_extensions" ], "properties": { "stac_extensions": { "type": "array", "contains": { "const": "https://stac-extensions.github.io/ssys/v1.1.0/schema.json" } } } }, "fields": { "type": "object", "properties": { "ssys:targets": { "type": "array", "minItems": 1, "items": { "type": "string" } }, "ssys:local_time": { "title": "Local time", "type": "string" }, "ssys:target_class": { "title": "target_class", "type": "string", "enum": ["asteroid", "dwarf_planet", "planet", "satellite", "comet", "exoplanet", "interplanetary_medium", "sample", "sky", "spacecraft", "spacejunk", "star", "calibration"] } }, "patternProperties": { "^(?!ssys:)": {} }, "additionalProperties": false } } }