{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/nuget-project-json/versions/3.3.0.json",
  "title": "JSON schema for NuGet project.json files",
  "x-lintel": {
    "source": "https://www.schemastore.org/nuget-project-3.3.0.json",
    "sourceSha256": "3da04acd079045ebd41a2bb4abd3ab4d535d4d1ed8619ab52ef414ff06dc43ce"
  },
  "type": "object",
  "properties": {
    "dependencies": {
      "$ref": "#/$defs/dependencies"
    },
    "frameworks": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/configType"
      }
    },
    "runtimes": {
      "type": "object",
      "description": "A list of supported runtime platforms.",
      "properties": {
        "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-3.3.0.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"
            ]
          }
        }
      }
    }
  }
}
