{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-offer-schema.json",
  "title": "Offer",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-offers-api-openapi.yml#/components/schemas/Offer",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "branchId": {
      "type": [
        "string",
        "null"
      ]
    },
    "propertyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "ownerId": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "insertDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "modifiedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "effectiveDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "currencyCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "offerAmount": {
      "type": "number",
      "format": "double"
    },
    "status": {
      "enum": [
        "Unspecified",
        "Received",
        "Accepted",
        "Rejected",
        "Withdrawn",
        "Revised"
      ],
      "type": "string"
    },
    "recordType": {
      "enum": [
        "Unspecified",
        "Sale",
        "Rent"
      ],
      "type": "string"
    },
    "salesProgressorName": {
      "type": [
        "string",
        "null"
      ]
    },
    "contactsJson": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}