Skip to content

Commit

Permalink
Merge pull request #191 from microsoft/main
Browse files Browse the repository at this point in the history
[admin] merge to live
  • Loading branch information
lindalu-MSFT authored Mar 13, 2024
2 parents 034f5dc + 9d1db55 commit f73dead
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 10 deletions.
147 changes: 147 additions & 0 deletions dotnet/target-framework-moniker.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": ".NET Target Framework Moniker",
"description": "Used to specify a particular .NET framework version as a build target.",
"type": "string",
"anyOf": [
{
"description": ".NET Core",
"type": "string",
"enum": [
"netcoreapp1.0",
"netcoreapp1.1",
"netcoreapp2.0",
"netcoreapp2.1",
"netcoreapp2.2",
"netcoreapp3.0",
"netcoreapp3.1"
]
},
{
"description": ".NET 5",
"type": "string",
"pattern": "^net5\\.0(-windows((0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*)){0,2})?)?$"
},
{
"description": ".NET 6",
"type": "string",
"pattern": "^net6\\.0(-(android|ios|maccatalyst|macos|tvos|windows)((0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*)){0,2})?)?$"
},
{
"description": ".NET 7",
"type": "string",
"pattern": "^net7\\.0(-(android|ios|maccatalyst|macos|tvos|windows)((0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*)){0,2})?)?$"
},
{
"description": ".NET 8",
"type": "string",
"pattern": "^net8\\.0(-(android|browser|ios|maccatalyst|macos|tvos|windows)((0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*)){0,2})?)?$"
},
{
"description": ".NET Standard",
"type": "string",
"enum": [
"netstandard1.0",
"netstandard1.1",
"netstandard1.2",
"netstandard1.3",
"netstandard1.4",
"netstandard1.5",
"netstandard1.6",
"netstandard2.0",
"netstandard2.1"
]
},
{
"description": ".NET Framework",
"type": "string",
"enum": [
"net11",
"net20",
"net35",
"net40",
"net403",
"net45",
"net451",
"net452",
"net46",
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
]
},
{
"description": "Windows Store",
"type": "string",
"enum": [
"netcore",
"netcore45",
"netcore451"
]
},
{
"description": ".NET Micro Framework",
"type": "string",
"enum": [
"netmf"
]
},
{
"description": "Silverlight",
"type": "string",
"enum": [
"sl4", "sl5"
]
},
{
"description": "Windows Phone",
"type": "string",
"enum": [
"wp",
"wp7",
"wp75",
"wp8",
"wp81",
"wpa81"
]
},
{
"description": "Universal Windows Platform",
"type": "string",
"enum": [
"uap",
"uap10.0"
]
},
{
"description": "Deprecated",
"type": "string",
"enum": [
"aspnet50",
"aspnetcore50",
"dnxcore50",
"dnx",
"dnx45",
"dnx451",
"dnx452",
"dotnet",
"dotnet50",
"dotnet51",
"dotnet52",
"dotnet53",
"dotnet54",
"dotnet55",
"dotnet56",
"netcore50",
"win",
"win8",
"win81",
"win10",
"wirt"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "trident artifact git integration configuration",
"description": "configuration file used by fabric git integration on artifacts in git repositories",
"title": "Fabric item Git integration configuration",
"description": "Configuration file used by fabric Git integration on items in Git repositories",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"description": "link to json schema in json repository"
"description": "Link to json schema in json repository"
},
"metadata": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "the type of the artifact"
"description": "The type of the item"
},
"displayName": {
"type": "string",
"description": "how the artifact is listed in the UI"
"description": "How the item is listed in the UI"
},
"Description": {
"description": {
"type": "string",
"description": "verbal description of the artifact, as written by the author"
"description": "Verbal description of the item, as written by the author"
}
},
"required": ["type", "displayName"]
Expand All @@ -31,15 +31,15 @@
"properties": {
"version": {
"type": "string",
"description": "the version of the the metadata"
"description": "The version of the metadata"
},
"logicalId": {
"type": "string",
"description": "logical ID of the artifact"
"description": "Logical ID of the item"
}
},
"required": ["version", "logicalId"]
}
},
"required": ["$schema", "metadata", "config"]
}
}

0 comments on commit f73dead

Please sign in to comment.