{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/host-meta-json/latest.json",
  "title": "JSON schema for host-meta files",
  "x-lintel": {
    "source": "https://www.schemastore.org/host-meta.json",
    "sourceSha256": "21d10a437f683bb351eccb5a2ca49dc9438e533416664fca0a4fca57fb720f8d",
    "fileMatch": [
      "host-meta.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "subject": {
      "type": "string",
      "format": "uri"
    },
    "expires": {
      "type": "string",
      "format": "date-time"
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "properties": {
      "$ref": "#/$defs/property"
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/link"
      }
    }
  },
  "required": [
    "subject"
  ],
  "$defs": {
    "property": {
      "type": "object",
      "additionalProperties": {
        "type": [
          "null",
          "string"
        ]
      }
    },
    "link": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "href": {
          "type": "string"
        },
        "template": {
          "type": "string",
          "format": "uri"
        },
        "titles": {
          "type": "object",
          "properties": {
            "default": {
              "type": "string"
            }
          },
          "additionalProperties": {
            "type": "string"
          }
        },
        "properties": {
          "$ref": "#/$defs/property"
        }
      }
    }
  },
  "additionalProperties": true,
  "id": "https://json.schemastore.org/host-meta.json"
}
