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

specification.jsonschema.artifact-fields.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/artifact-fields.json",
  "$defs": {
    "artifactFieldsEnum": {
      "type": "string",
      "enum": [
        "Id",
        "Component",
        "Group Id",
        "Version",
        "URL",
        "CPE URIs",
        "Type",
        "Description",
        "Derived CPE URIs",
        "Inapplicable CPE URIs",
        "Additional CPE URIs",
        "Addon CVEs",
        "Inapplicable CVE",
        "MS Product ID",
        "PURL",
        "EOL Id"
      ]
    },
    "artifactFieldsObject": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string"
        },
        "Component": {
          "type": "string"
        },
        "Group Id": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "URL": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "CPE URIs": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Derived CPE URIs": {
          "type": "string"
        },
        "Inapplicable CPE URIs": {
          "type": "string"
        },
        "Additional CPE URIs": {
          "type": "string"
        },
        "Addon CVEs": {
          "type": "string"
        },
        "Inapplicable CVE": {
          "type": "string"
        },
        "MS Product ID": {
          "type": "string"
        },
        "PURL": {
          "type": "string"
        },
        "EOL Id": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "artifactFieldOrAny": {
      "anyOf": [
        {
          "$ref": "#/$defs/artifactFieldsEnum"
        },
        {
          "type": "string"
        }
      ]
    },
    "artifactFieldOrAnyArray": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "#/$defs/artifactFieldOrAny"
          },
          {
            "$ref": "#/$defs/artifactFieldsObject"
          }
        ]
      }
    },
    "artifactFieldOrAnyObjectOrArrayOfObjects": {
      "anyOf": [
        {
          "$ref": "#/$defs/artifactFieldsObject"
        },
        {
          "$ref": "#/$defs/artifactFieldOrAnyArray"
        }
      ]
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy