{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nasa-cmr/main/json-schema/nasa-cmr-stac-link.json",
  "title": "Link",
  "description": "A generic link.",
  "type": "object",
  "properties": {
    "href": {
      "type": "string",
      "example": "http://www.geoserver.example/stac/naip/child/catalog.json",
      "format": "url"
    },
    "rel": {
      "type": "string",
      "example": "child"
    },
    "type": {
      "type": "string",
      "example": "application/json"
    },
    "hreflang": {
      "type": "string",
      "example": "en"
    },
    "title": {
      "type": "string",
      "example": "NAIP Child Catalog"
    },
    "length": {
      "type": "integer"
    }
  },
  "required": [
    "href",
    "rel"
  ]
}