import json


def get_manifest(config_digest, layer_digest):
    """A dummy image manifest with a config and single image layer"""
    return json.dumps(
        {
            "schemaVersion": 2,
            "config": {
                "mediaType": "application/vnd.oci.image.config.v1+json",
                "size": 7023,
                "digest": config_digest,
            },
            "layers": [
                {
                    "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
                    "size": 32654,
                    "digest": layer_digest,
                }
            ],
            "annotations": {"com.example.key1": "peas", "com.example.key2": "carrots"},
        }
    )