{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cislunar lunar sites export",
  "description": "Lunar site profile export payload.",
  "type": "object",
  "required": [
    "schemaVersion",
    "generatedAt",
    "site",
    "dataset",
    "count",
    "records"
  ],
  "properties": {
    "schemaVersion": {
      "type": "integer"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "site": {
      "const": "cislunar.news"
    },
    "dataset": {
      "type": "string"
    },
    "count": {
      "type": "integer"
    },
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "slug",
          "name",
          "region",
          "coordinates",
          "latitude",
          "longitude",
          "type",
          "summary",
          "canonicalUrl"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "coordinates": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "missions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "infrastructureRelevance": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "canonicalUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}
