All Downloads are FREE. Search and download functionalities are using the official Maven repository.

specification.jsonschema.vulnerability-status-validation.json Maven / Gradle / Ivy

The newest version!
{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://www.metaeffekt.com/schema/artifact-analysis/latest/vulnerability-status-validation.json",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "any artifact": {
      "$ref": "#/$defs/conditionList"
    },
    "matching artifact": {
      "$ref": "#/$defs/conditionList"
    },
    "any vulnerability": {
      "$ref": "#/$defs/conditionList"
    },
    "matching vulnerability": {
      "$ref": "#/$defs/conditionList"
    }
  },
  "$defs": {
    "conditionList": {
      "type": "object",
      "properties": {
        "exists": {
          "type": "array",
          "items": {
            "$ref": "artifact-data-condition.json"
          },
          "minItems": 1
        },
        "not exists": {
          "type": "array",
          "items": {
            "$ref": "artifact-data-condition.json"
          },
          "minItems": 1
        }
      },
      "additionalProperties": false
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy