{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pexafy/json-schema/pexafy-add-photo-body-schema.json",
  "title": "AddPhotoBody",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pexafy-collections-api-openapi.yml#/components/schemas/AddPhotoBody",
  "properties": {
    "photo_id": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Photo Id"
    },
    "photo_thumbnail_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Photo Thumbnail Url"
    },
    "photo_source": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Photo Source"
    },
    "photo_photographer": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Photo Photographer"
    }
  },
  "type": "object",
  "required": [
    "photo_id"
  ]
}