{
  "algorithm": {
    "parameters": [
      {
        "name": "catalogType",
        "type": "string"
      },
      {
        "name": "instance",
        "type": "Catalog"
      }
    ],
    "statements": [],
    "typeReturn": "Catalog",
    "variables": []
  },
  "routing": {
    "method": "POST",
    "parameters": [
      {
        "bind": "catalogType",
        "in": "Path",
        "name": "catalogType",
        "remarks": "catalogType"
      },
      {
        "bind": "instance",
        "in": "Body",
        "name": "instance",
        "remarks": "instance"
      }
    ],
    "path": "/catalogs/{catalogType}",
    "remarks": "Create catalog instance",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "httpStatus": "201",
        "remarks": "Instance created"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "Forbidden",
        "httpStatus": "403",
        "remarks": "Forbidden"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not Found"
      }
    ]
  }
}