{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rewio-ru/json-schema/rewio-ru-link-input-v3-schema.json",
  "title": "LinkInputV3",
  "description": "Ссылка, передаваемая при создании объекта или добавлении в него.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rewio-ru-links-api-openapi.yml#/components/schemas/LinkInputV3",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2083,
      "minLength": 1,
      "format": "uri",
      "title": "Url",
      "description": "Адрес страницы объекта на площадке. Площадка определяется по домену."
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active",
      "description": "Собирать ли отзывы по этой ссылке.",
      "default": true
    },
    "link_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Link Name",
      "description": "Своё название ссылки внутри объекта."
    }
  },
  "type": "object",
  "required": [
    "url"
  ]
}