{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/itsbaba-com/json-schema/itsbaba-com-account-terms-upsert-schema.json",
  "title": "AccountTermsUpsert",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/itsbaba-com-account-terms-api-openapi.yml#/components/schemas/AccountTermsUpsert",
  "type": "object",
  "properties": {
    "terms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "term": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "translations": {
            "type": "object",
            "properties": {
              "he": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "en": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "ru": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              }
            },
            "additionalProperties": false
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 500
          }
        },
        "required": [
          "term"
        ]
      },
      "minItems": 1,
      "maxItems": 2000
    }
  },
  "required": [
    "terms"
  ]
}