Skip to content

PhotographyPhotosDto

Endpoints · All schemas

FieldRequiredDescription
nextCursorYesstring
photosYesarray

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "nextCursor": {
      "nullable": true,
      "type": "string"
    },
    "photos": {
      "items": {
        "properties": {
          "camera": {
            "type": "string"
          },
          "canRate": {
            "type": "boolean"
          },
          "capturedAt": {
            "nullable": true,
            "type": "string"
          },
          "currentRevisionId": {
            "format": "uuid",
            "nullable": true,
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
            "type": "string"
          },
          "eligible": {
            "type": "boolean"
          },
          "exclusion": {
            "nullable": true,
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "height": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
            "type": "string"
          },
          "isRaw": {
            "type": "boolean"
          },
          "processing": {
            "enum": [
              "ready",
              "pending",
              "failed"
            ],
            "type": "string"
          },
          "rating": {
            "maximum": 5,
            "minimum": -1,
            "nullable": true,
            "type": "integer"
          },
          "stackCount": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "stackId": {
            "format": "uuid",
            "nullable": true,
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
            "type": "string"
          },
          "width": {
            "maximum": 9007199254740991,
            "minimum": -9007199254740991,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "fileName",
          "rating",
          "canRate",
          "stackCount",
          "currentRevisionId",
          "camera",
          "capturedAt",
          "isRaw",
          "stackId",
          "width",
          "height",
          "eligible",
          "exclusion",
          "processing"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "nextCursor",
    "photos"
  ],
  "type": "object"
}