{
 "additionalProperties": false,
 "definitions": {
  "ApiStage": {
   "additionalProperties": false,
   "properties": {
    "ApiId": {
     "type": "string"
    },
    "Stage": {
     "type": "string"
    },
    "Throttle": {
     "additionalProperties": false,
     "patternProperties": {
      ".*": {
       "$ref": "#/definitions/ThrottleSettings"
      }
     },
     "type": "object"
    }
   },
   "type": "object"
  },
  "QuotaSettings": {
   "additionalProperties": false,
   "properties": {
    "Limit": {
     "minimum": 0,
     "type": "integer"
    },
    "Offset": {
     "minimum": 0,
     "type": "integer"
    },
    "Period": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  },
  "ThrottleSettings": {
   "additionalProperties": false,
   "properties": {
    "BurstLimit": {
     "minimum": 0,
     "type": "integer"
    },
    "RateLimit": {
     "minimum": 0,
     "type": "number"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "ApiStages": {
   "items": {
    "$ref": "#/definitions/ApiStage"
   },
   "type": "array",
   "uniqueItems": true
  },
  "Description": {
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "Quota": {
   "$ref": "#/definitions/QuotaSettings"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Throttle": {
   "$ref": "#/definitions/ThrottleSettings"
  },
  "UsagePlanName": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ApiGateway::UsagePlan"
}
