{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/nuget-project-json/latest.json",
  "title": "JSON schema for NuGet project.json files",
  "x-lintel": {
    "source": "https://www.schemastore.org/nuget-project.json",
    "sourceSha256": "f80293b1d47258e9df1a893cfa54450d685677f32804a05d7868d9e1c657f686"
  },
  "type": "object",
  "properties": {
    "dependencies": {
      "$ref": "#/$defs/dependencies"
    },
    "frameworks": {
      "type": "object",
      "description": "The frameworks on which your project will run.",
      "additionalProperties": {
        "$ref": "#/$defs/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."
      }
    }
  },
  "id": "https://json.schemastore.org/nuget-project.json",
  "$defs": {
    "configType": {
      "type": "object",
      "properties": {
        "dependencies": {
          "$ref": "#/$defs/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"
            ]
          }
        }
      }
    }
  }
}
