{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
    "configType": {
      "type": "object",
      "properties": {
        "dependencies": {
          "$ref": "#/definitions/dependencies"
        },
        "imports": {
          "type": "string"
        }
      }
    },
    "dependencies": {
      "description": "A list of dependencies.",
      "type": "object",
      "additionalProperties": {
        "type": ["string", "object"],
        "properties": {
          "version": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "default": "default",
            "enum": ["default", "build"]
          }
        }
      }
    }
  },
  "id": "https://json.schemastore.org/nuget-project.json",
  "properties": {
    "dependencies": {
      "$ref": "#/definitions/dependencies"
    },
    "frameworks": {
      "type": "object",
      "description": "The frameworks on which your project will run.",
      "additionalProperties": {
        "$ref": "#/definitions/configType"
      }
    },
    "runtimes": {
      "type": "object",
      "description": "The Operating System and Architectures on which your application will be running.",
      "properties": {
        "centos.7-x64": {
          "type": "object"
        },
        "debian.8-x64": {
          "type": "object"
        },
        "fedora.23-x64": {
          "type": "object"
        },
        "fedora.24-x64": {
          "type": "object"
        },
        "linuxmint.17-x64": {
          "type": "object"
        },
        "linuxmint.17.1-x64": {
          "type": "object"
        },
        "linuxmint.17.2-x64": {
          "type": "object"
        },
        "linuxmint.17.3-x64": {
          "type": "object"
        },
        "linuxmint.18-x64": {
          "type": "object"
        },
        "ol.7.0-x64": {
          "type": "object"
        },
        "ol.7.1-x64": {
          "type": "object"
        },
        "ol.7.2-x64": {
          "type": "object"
        },
        "opensuse.13.2-x64": {
          "type": "object"
        },
        "opensuse.42.1-x64": {
          "type": "object"
        },
        "osx.10.10-x64": {
          "type": "object"
        },
        "osx.10.11-x64": {
          "type": "object"
        },
        "osx.10.12-x64": {
          "type": "object"
        },
        "rhel.7.0-x64": {
          "type": "object"
        },
        "rhel.7.1-x64": {
          "type": "object"
        },
        "rhel.7.2-x64": {
          "type": "object"
        },
        "ubuntu.14.04-x64": {
          "type": "object"
        },
        "ubuntu.14.10-x64": {
          "type": "object"
        },
        "ubuntu.15.04-x64": {
          "type": "object"
        },
        "ubuntu.15.10-x64": {
          "type": "object"
        },
        "ubuntu.16.04-x64": {
          "type": "object"
        },
        "ubuntu.16.10-x64": {
          "type": "object"
        },
        "win": {
          "type": "object"
        },
        "win-x86": {
          "type": "object"
        },
        "win-x64": {
          "type": "object"
        },
        "win7": {
          "type": "object"
        },
        "win7-x86": {
          "type": "object"
        },
        "win7-x64": {
          "type": "object"
        },
        "win8": {
          "type": "object"
        },
        "win8-x86": {
          "type": "object"
        },
        "win8-x64": {
          "type": "object"
        },
        "win8-arm": {
          "type": "object"
        },
        "win81": {
          "type": "object"
        },
        "win81-x86": {
          "type": "object"
        },
        "win81-x64": {
          "type": "object"
        },
        "win81-arm": {
          "type": "object"
        },
        "win10-arm": {
          "type": "object"
        },
        "win10-arm-aot": {
          "type": "object"
        },
        "win10-x86": {
          "type": "object"
        },
        "win10-x86-aot": {
          "type": "object"
        },
        "win10-x64": {
          "type": "object"
        },
        "win10-x64-aot": {
          "type": "object"
        }
      }
    },
    "supports": {
      "type": "object",
      "description": "A list of supported target frameworks.",
      "additionalProperties": {
        "type": "object",
        "description": "A supported target framework."
      }
    }
  },
  "title": "JSON schema for NuGet project.json files",
  "type": "object"
}