{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/api-evangelist/nasa/blob/main/json-schema/rover-photo.json", "title": "Mars Rover Photo", "description": "A photo taken by a NASA Mars rover.", "type": "object", "properties": { "id": { "type": "integer", "description": "Unique identifier for the photo." }, "sol": { "type": "integer", "description": "Martian sol (day) on which the photo was taken." }, "camera": { "$ref": "camera.json" }, "img_src": { "type": "string", "format": "uri", "description": "URL of the image." }, "earth_date": { "type": "string", "format": "date", "description": "Earth date when the photo was taken." }, "rover": { "$ref": "rover.json" } }, "required": ["id", "sol", "img_src", "earth_date"] }