{
 "additionalProperties": false,
 "definitions": {
  "Code": {
   "additionalProperties": false,
   "properties": {
    "S3": {
     "$ref": "#/definitions/S3"
    }
   },
   "required": [
    "S3"
   ],
   "type": "object"
  },
  "S3": {
   "additionalProperties": false,
   "properties": {
    "Bucket": {
     "type": "string"
    },
    "Key": {
     "type": "string"
    },
    "ObjectVersion": {
     "type": "string"
    }
   },
   "required": [
    "Bucket",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Code": {
   "$ref": "#/definitions/Code"
  },
  "ConnectionArn": {
   "type": "string"
  },
  "EnableIssues": {
   "type": "boolean"
  },
  "Id": {
   "type": "string"
  },
  "IsPrivate": {
   "type": "boolean"
  },
  "RepositoryAccessToken": {
   "type": "string"
  },
  "RepositoryDescription": {
   "type": "string"
  },
  "RepositoryName": {
   "type": "string"
  },
  "RepositoryOwner": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "RepositoryName",
  "RepositoryOwner"
 ],
 "typeName": "AWS::CodeStar::GitHubRepository"
}
