{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-json-ok-response-update-affiliation-link-response-schema.json",
  "title": "JsonOkResponseUpdateAffiliationLinkResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-affiliations-api-openapi.yml#/components/schemas/JsonOkResponseUpdateAffiliationLinkResponse",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object"
    },
    "page": {
      "$ref": "#/$defs/JsonPaging"
    },
    "data": {
      "$ref": "#/$defs/UpdateAffiliationLinkResponse"
    }
  },
  "$defs": {
    "JsonPaging": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string"
        }
      }
    },
    "UpdateAffiliationLinkResponse": {
      "type": "object",
      "properties": {
        "hash": {
          "type": "string",
          "description": "Updated hash/slug of the link"
        },
        "destination": {
          "type": "string",
          "description": "Updated destination URL of the link"
        }
      },
      "description": "Response after updating a legacy affiliation link"
    }
  }
}