{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-alto-services-sdk-pagination-paged-response1-alto-contacts-api-models-responses-owner-schema.json",
  "title": "Alto.Services.SDK.Pagination.PagedResponse1_Alto.Contacts.Api.Models.Responses.Owner",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-owners-api-openapi.yml#/components/schemas/Alto.Services.SDK.Pagination.PagedResponse1_Alto.Contacts.Api.Models.Responses.Owner",
  "type": "object",
  "properties": {
    "meta": {
      "allOf": [
        {
          "$ref": "#/$defs/Alto.Services.SDK.Pagination.Meta"
        }
      ]
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/Alto.Contacts.Api.Models.Responses.Owner"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Alto.Api.Material.Hateoas.Link": {
      "type": "object",
      "properties": {
        "href": {
          "type": [
            "string",
            "null"
          ]
        },
        "rel": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Alto.Contacts.Api.Models.Responses.Owner": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier for the resource."
        },
        "links": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Api.Material.Hateoas.Link"
          },
          "description": "Links to related entities."
        },
        "property": {
          "allOf": [
            {
              "$ref": "#/$defs/Alto.Contacts.Api.Models.Responses.OwnerProperty"
            }
          ],
          "description": "Details of the property owned by the contact."
        },
        "contact": {
          "allOf": [
            {
              "$ref": "#/$defs/Alto.Contacts.Api.Models.Responses.OwnerContact"
            }
          ],
          "description": "Represents the contact details of the owner."
        },
        "active": {
          "type": "boolean",
          "description": "Indicates whether the owner is currently active."
        },
        "type": {
          "enum": [
            "Unknown",
            "Vendor",
            "Landlord"
          ],
          "type": "string",
          "description": "Represents the type of the owner."
        },
        "percentageShare": {
          "type": "number",
          "description": "Represents the owner's share or interest as a percentage.",
          "format": "double"
        },
        "createdAt": {
          "type": "string",
          "description": "The date and time when the contact owner was created.",
          "format": "date-time"
        },
        "modifiedAt": {
          "type": "string",
          "description": "The date and time when the owner's details were last modified.",
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    "Alto.Contacts.Api.Models.Responses.OwnerContact": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier for the resource."
        },
        "links": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Api.Material.Hateoas.Link"
          },
          "description": "Links to related entities."
        },
        "branchId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Represents the branch identifier associated with the contact owner."
        }
      },
      "additionalProperties": false,
      "description": "Represents a contact that owns a property."
    },
    "Alto.Contacts.Api.Models.Responses.OwnerProperty": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The unique identifier for the resource."
        },
        "links": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Alto.Api.Material.Hateoas.Link"
          },
          "description": "Links to related entities."
        },
        "branchId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Represents the branch identifier associated with the property."
        }
      },
      "additionalProperties": false,
      "description": "Represents a property belonging to a contact."
    },
    "Alto.Services.SDK.Pagination.Meta": {
      "type": "object",
      "properties": {
        "nextToken": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}