{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-schema/config-resource-count-schema.json",
  "title": "ResourceCount",
  "description": "An object that contains the resource type and the number of resources.",
  "type": "object",
  "properties": {
    "resourceType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceType"
        },
        {
          "description": "The resource type (for example, <code>\"AWS::EC2::Instance\"</code>)."
        }
      ]
    },
    "count": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Long"
        },
        {
          "description": "The number of resources."
        }
      ]
    }
  }
}