Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative $refs in external property file schema. #418

Merged
merged 1 commit into from May 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "SARIF External Property File Schema Version 2.1.0-rtm.0 JSON Schema",
"title": "SARIF External Property File Schema Version 2.1.0 JSON Schema",
"type": "object",
"properties": {

Expand Down Expand Up @@ -29,7 +29,7 @@

"conversion": {
"description": "A conversion object that will be merged with an external run.",
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/conversion"
"$ref": "sarif-schema-2.1.0#/definitions/conversion"
},

"graphs": {
Expand All @@ -39,13 +39,13 @@
"default": [],
"uniqueItems": true,
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/graph"
"$ref": "sarif-schema-2.1.0#/definitions/graph"
}
},

"externalizedProperties": {
"description": "Key/value pairs that provide additional information that will be merged with an external run.",
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/propertyBag"
"$ref": "sarif-schema-2.1.0#/definitions/propertyBag"
},

"artifacts": {
Expand All @@ -54,7 +54,7 @@
"minItems": 0,
"uniqueItems": true,
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/artifact"
"$ref": "sarif-schema-2.1.0#/definitions/artifact"
}
},

Expand All @@ -65,7 +65,7 @@
"uniqueItems": false,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/invocation"
"$ref": "sarif-schema-2.1.0#/definitions/invocation"
}
},

Expand All @@ -76,7 +76,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/logicalLocation"
"$ref": "sarif-schema-2.1.0#/definitions/logicalLocation"
}
},

Expand All @@ -87,7 +87,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/threadFlowLocation"
"$ref": "sarif-schema-2.1.0#/definitions/threadFlowLocation"
}
},

Expand All @@ -98,7 +98,7 @@
"uniqueItems": false,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/result"
"$ref": "sarif-schema-2.1.0#/definitions/result"
}
},

Expand All @@ -109,13 +109,13 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/toolComponent"
"$ref": "sarif-schema-2.1.0#/definitions/toolComponent"
}
},

"driver": {
"description": "The analysis tool object that will be merged with an external run.",
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/toolComponent"
"$ref": "sarif-schema-2.1.0#/definitions/toolComponent"
},

"extensions": {
Expand All @@ -125,7 +125,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/toolComponent"
"$ref": "sarif-schema-2.1.0#/definitions/toolComponent"
}
},

Expand All @@ -136,7 +136,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/toolComponent"
"$ref": "sarif-schema-2.1.0#/definitions/toolComponent"
}
},

Expand All @@ -147,7 +147,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/toolComponent"
"$ref": "sarif-schema-2.1.0#/definitions/toolComponent"
}
},

Expand All @@ -158,7 +158,7 @@
"uniqueItems": false,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/address"
"$ref": "sarif-schema-2.1.0#/definitions/address"
}
},

Expand All @@ -169,7 +169,7 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/webRequest"
"$ref": "sarif-schema-2.1.0#/definitions/webRequest"
}
},

Expand All @@ -180,13 +180,13 @@
"uniqueItems": true,
"default": [],
"items": {
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/webResponse"
"$ref": "sarif-schema-2.1.0#/definitions/webResponse"
}
},

"properties": {
"description": "Key/value pairs that provide additional information about the external properties.",
"$ref": "https://schemastore.azurewebsites.net/json/sarif#/definitions/propertyBag"
"$ref": "sarif-schema-2.1.0#/definitions/propertyBag"
}
},
"required": [ "version" ]
Expand Down
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.0 JSON Schema",
"description": "Static Analysis Results Format (SARIF) Version 2.1.0-rtm.0 JSON Schema: a standard format for the output of static analysis tools.",
"title": "Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema",
"description": "Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema: a standard format for the output of static analysis tools.",
"additionalProperties": false,
"type": "object",
"properties": {
Expand Down Expand Up @@ -2973,7 +2973,7 @@
},

"releaseDateUtc": {
"description": "A string specifying the UTC date (and optionally, the time) of the components release.",
"description": "A string specifying the UTC date (and optionally, the time) of the component's release.",
"type": "string"
},

Expand Down