{
  "$defs": {
    "EnvironmentMetadataV1": {
      "properties": {
        "compiler_version": {
          "type": "string"
        },
        "package_name": {
          "type": "string"
        },
        "profile": {
          "type": "string"
        },
        "rustc_target": {
          "type": "string"
        },
        "schema_version": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "compiler_version",
        "rustc_target",
        "package_name",
        "profile"
      ],
      "type": "object"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Portable identity data for a source, its canonical artifact, and its SVG.",
  "properties": {
    "artifact_hash": {
      "type": "string"
    },
    "environment": {
      "$ref": "#/$defs/EnvironmentMetadataV1"
    },
    "render_hash": {
      "type": "string"
    },
    "schema_version": {
      "type": "string"
    },
    "source_hash": {
      "type": "string"
    }
  },
  "required": [
    "schema_version",
    "source_hash",
    "artifact_hash",
    "render_hash",
    "environment"
  ],
  "title": "ArtifactManifestV1",
  "type": "object"
}
