{
  "version": "1.0",
  "resources": {
    "Registry": {
      "operation": "DescribeRegistries",
      "resourceIdentifier": {
        "registryId": "registries[].registryId",
        "registryArn": "registries[].registryArn"
      }
    },
    "Repository": {
      "operation": "DescribeRepositories",
      "resourceIdentifier": {
        "repositoryName": "repositories[].repositoryName"
      }
    }
  },
  "operations": {
    "BatchCheckLayerAvailability": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "BatchDeleteImage": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "CompleteLayerUpload": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "DeleteRepository": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "DeleteRepositoryPolicy": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "DescribeImageTags": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "DescribeImages": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "DescribeRepositories": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryNames": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "GetRepositoryCatalogData": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "GetRepositoryPolicy": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "InitiateLayerUpload": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "ListTagsForResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryArn"
          }
        ]
      }
    },
    "PutImage": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "PutRepositoryCatalogData": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "SetRepositoryPolicy": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    },
    "TagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryArn"
          }
        ]
      }
    },
    "UntagResource": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryArn"
          }
        ]
      }
    },
    "UploadLayerPart": {
      "registryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Registry",
            "resourceIdentifier": "registryId"
          }
        ]
      },
      "repositoryName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Repository",
            "resourceIdentifier": "repositoryName"
          }
        ]
      }
    }
  }
}
