github.com/jdolitsky/cnab-go@v0.7.1-beta1/testdata/bundles/digest.json (about)

     1  {
     2    "name": "foo",
     3    "version": "1.0",
     4    "schemaVersion": "99.99",
     5    "images": {
     6      "my-microservice": {
     7        "contentDigest": "sha256:beefcacef6c04336a17761db2004813982abe0e87ab727a376c291e09391ea61",
     8        "description": "my microservice",
     9        "image": "technosophos/microservice:1.2.3"
    10      }
    11    },
    12    "invocationImages": [
    13      {
    14        "contentDigest": "sha256:decafbad71b4175951f29eb96035604c8cc372c99affa2e6d05cde6e8e20cc9a",
    15        "image": "technosophos/helloworld:0.1.0",
    16        "imageType": "docker"
    17      }
    18    ],
    19    "credentials": {
    20        "foo": {
    21            "path": "pfoo"
    22        },
    23        "bar": {
    24            "env": "ebar"
    25        },
    26        "quux": {
    27            "path": "pquux",
    28            "env": "equux"
    29        }
    30    },
    31    "custom": {
    32        "com.example.duffle-bag": {
    33            "icon": "https://example.com/icon.png",
    34            "iconType": "PNG"
    35        },
    36        "com.example.backup-preferences": {
    37            "enabled": true,
    38            "frequency": "daily"
    39        }
    40    },
    41    "definitions" : {
    42        "complexThing" : {
    43            "type" : "object",
    44            "properties" : {
    45                "host" : {
    46                    "default" : "localhost",
    47                    "type" : "string",
    48                    "minLength" : 3,
    49                    "maxLength" : 10
    50                },
    51                "port" : {
    52                    "type" : "integer",
    53                    "minimum": 8000
    54                }
    55            },
    56            "required" : ["port"]
    57        }
    58    },
    59    "parameters" : {
    60        "serverConfig" : {
    61            "definition" : "complexThing",
    62            "destination" : {
    63                "path": "/cnab/is/go"
    64            }
    65        }
    66    }
    67  }