{
  "id": "oci_digest",
  "kind": "datatype",
  "status": "draft",
  "name": "OCI content digest (container image digest)",
  "doc": "Content identifier of the OCI image and distribution specifications, used for container images and their layers (as in image@sha256:...): the algorithm, a colon and the digest in lowercase hexadecimal. The registered algorithms are sha256 (64 digits, the default), sha512 (128 digits) and blake3 (64 digits).",
  "is_pii": false,
  "categories": [
    "software",
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:sha256:[a-f0-9]{64}|sha512:[a-f0-9]{128}|blake3:[a-f0-9]{64})$",
  "examples": [
    {
      "value": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270",
      "description": "Digest of the example manifest of the OCI descriptor specification",
      "valid": true
    },
    {
      "value": "sha256:6c3c624b58dbbcd3c0dd82b4c53f04194d1247c6eebdaab7c610cf7d66709b3b",
      "description": "Example digest string of the OCI descriptor specification",
      "valid": true
    },
    {
      "value": "sha256:6C3C624B58DBBCD3C0DD82B4C53F04194D1247C6EEBDAAB7C610CF7D66709B3B",
      "description": "Uppercase hexadecimal, which the specification forbids",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/oci_digest.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/oci_digest.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/oci_digest.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/oci_digest",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/oci_digest.json"
  }
}