{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "An Apple Universal Link config schema",
  "id": "https://json.schemastore.org/apple-app-site-association.json",
  "properties": {
    "applinks": {
      "title": "application links",
      "description": "Application links",
      "type": "object",
      "required": ["apps", "details"],
      "properties": {
        "apps": {
          "description": "Applications",
          "type": "array",
          "enum": [[]]
        },
        "details": {
          "description": "Details",
          "type": "array",
          "items": {
            "title": "detail",
            "description": "A detail",
            "type": "object",
            "properties": {
              "appID": {
                "description": "An appID key or app ID prefix, followed by the bundle ID",
                "type": "string"
              },
              "paths": {
                "description": "Paths",
                "type": "array",
                "uniqueItems": true,
                "items": {
                  "description": "Path to open in the mobile app",
                  "$ref": "https://json.schemastore.org/base-04.json#/definitions/path"
                }
              }
            }
          }
        }
      }
    }
  },
  "required": ["applinks"],
  "title": "Apple Universal Link config",
  "type": "object"
}
