{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-confluent-agreement-resource-schema.json",
  "title": "ConfluentAgreementResource",
  "description": "Agreement Terms definition",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-agreements-api-openapi.yml#/components/schemas/ConfluentAgreementResource",
  "type": "object",
  "x-ms-azure-resource": true,
  "properties": {
    "id": {
      "description": "The ARM id of the resource.",
      "type": "string",
      "readOnly": true
    },
    "name": {
      "description": "The name of the agreement.",
      "type": "string",
      "readOnly": true
    },
    "type": {
      "description": "The type of the agreement.",
      "type": "string",
      "readOnly": true
    },
    "systemData": {
      "description": "Metadata pertaining to creation and last modification of the resource",
      "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
      "readOnly": true
    },
    "properties": {
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/ConfluentAgreementProperties",
      "description": "Represents the properties of the resource."
    }
  },
  "$defs": {
    "ConfluentAgreementProperties": {
      "description": "Terms properties for Marketplace and Confluent.",
      "type": "object",
      "properties": {
        "publisher": {
          "description": "Publisher identifier string.",
          "type": "string"
        },
        "product": {
          "description": "Product identifier string.",
          "type": "string"
        },
        "plan": {
          "description": "Plan identifier string.",
          "type": "string"
        },
        "licenseTextLink": {
          "description": "Link to HTML with Microsoft and Publisher terms.",
          "type": "string"
        },
        "privacyPolicyLink": {
          "description": "Link to the privacy policy of the publisher.",
          "type": "string"
        },
        "retrieveDatetime": {
          "format": "date-time",
          "description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.",
          "type": "string"
        },
        "signature": {
          "description": "Terms signature.",
          "type": "string"
        },
        "accepted": {
          "description": "If any version of the terms have been accepted, otherwise false.",
          "type": "boolean"
        }
      }
    }
  }
}