get.porter.sh/porter@v1.3.0/pkg/cnab/testdata/bundle-supported-unprocessable.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    "requiredExtensions": [
    46      "io.cnab.docker"
    47    ],
    48    "custom": {
    49      "com.example.duffle-bag": {
    50        "icon": "https://example.com/icon.png",
    51        "iconType": "PNG"
    52      },
    53      "com.example.backup-preferences": {
    54        "enabled": true,
    55        "frequency": "daily"
    56      }
    57    },
    58    "definitions": {
    59      "complexThing": {
    60        "type": "object",
    61        "properties": {
    62          "host": {
    63            "default": "localhost",
    64            "type": "string",
    65            "minLength": 3,
    66            "maxLength": 10
    67          },
    68          "port": {
    69            "type": "integer",
    70            "minimum": 8000
    71          }
    72        },
    73        "required": [
    74          "port"
    75        ]
    76      }
    77    },
    78    "parameters": {
    79      "serverConfig": {
    80        "definition": "complexThing",
    81        "destination": {
    82          "path": "/cnab/is/go"
    83        }
    84      }
    85    }
    86  }