github.com/Datadog/cnab-go@v0.3.3-beta1.0.20191007143216-bba4b7e723d0/testdata/bundles/foo.json (about)

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