{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-quota-counter-contract-schema.json",
  "title": "QuotaCounterContract",
  "description": "Quota counter details.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-quotabyperiodkeys-api-openapi.yml#/components/schemas/QuotaCounterContract",
  "type": "object",
  "properties": {
    "counterKey": {
      "type": "string",
      "description": "The Key value of the Counter. Must not be empty.",
      "minLength": 1
    },
    "periodKey": {
      "type": "string",
      "description": "Identifier of the Period for which the counter was collected. Must not be empty.",
      "minLength": 1
    },
    "periodStartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date of the start of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
    },
    "periodEndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date of the end of Counter Period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
    },
    "value": {
      "$ref": "#/$defs/QuotaCounterValueContractProperties",
      "description": "Quota Value Properties"
    }
  },
  "required": [
    "counterKey",
    "periodKey",
    "periodStartTime",
    "periodEndTime"
  ],
  "$defs": {
    "QuotaCounterValueContractProperties": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}