All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eedm.constituent-assets.v13.0.constituent-assets.json Maven / Gradle / Ivy

{
  "title" : "Constituent Assets",
  "description" : "The assets (e.g. art, stocks, airplane) used by Advancement to calculate the wealth of a constituent.",
  "type" : "object",
  "properties" : {
    "metadata" : {
      "$ref" : "resource:/eedm/metadata.json"
    },
    "id" : {
      "title" : "ID",
      "description" : "The global identifier of the constituent asset.",
      "type" : "string",
      "format" : "guid",
      "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
    },
    "description" : {
      "title" : "Description",
      "description" : "The description of the constituent asset.",
      "type" : "string"
    },
    "owner" : {
      "title" : "Owner",
      "description" : "The owner of the asset.",
      "type" : "object",
      "properties" : {
        "prospect" : {
          "title" : "Prospect",
          "description" : "The prospect that owns the asset.",
          "oneOf" : [ {
            "type" : "object",
            "properties" : {
              "id" : {
                "title" : "ID",
                "description" : "The global identifier for the Prospect.",
                "type" : "string",
                "format" : "guid",
                "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
              }
            },
            "links" : [ {
              "rel" : "self",
              "href" : "/advancement-prospects/{id}",
              "targetSchema" : {
                "$ref" : "advancement-prospects.json#"
              }
            } ],
            "additionalProperties" : false,
            "required" : [ "id" ]
          }, {
            "type" : "object",
            "maxProperties" : 0
          } ]
        },
        "constituent" : {
          "title" : "Constituent",
          "description" : "The constituent that owns the asset.",
          "oneOf" : [ {
            "title" : "Person",
            "description" : "The person that owns the asset.",
            "type" : "object",
            "properties" : {
              "person" : {
                "title" : "Person",
                "description" : "The person that owns the asset.",
                "type" : "object",
                "properties" : {
                  "id" : {
                    "title" : "ID",
                    "description" : "The global identifier for the Person.",
                    "type" : "string",
                    "format" : "guid",
                    "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                  }
                },
                "links" : [ {
                  "rel" : "self",
                  "href" : "/constituent-persons/{id}",
                  "targetSchema" : {
                    "$ref" : "constituent-persons.json#"
                  }
                } ],
                "additionalProperties" : false,
                "required" : [ "id" ]
              }
            },
            "additionalProperties" : false,
            "required" : [ "person" ]
          }, {
            "title" : "Organization",
            "description" : "The organization that owns the asset.",
            "type" : "object",
            "properties" : {
              "organization" : {
                "title" : "Organization",
                "description" : "The organization that owns the asset.",
                "type" : "object",
                "properties" : {
                  "id" : {
                    "title" : "ID",
                    "description" : "The global identifier for the Organization.",
                    "type" : "string",
                    "format" : "guid",
                    "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                  }
                },
                "links" : [ {
                  "rel" : "self",
                  "href" : "/constituent-organizations/{id}",
                  "targetSchema" : {
                    "$ref" : "constituent-organizations.json#"
                  }
                } ],
                "additionalProperties" : false,
                "required" : [ "id" ]
              }
            },
            "additionalProperties" : false,
            "required" : [ "organization" ]
          }, {
            "type" : "object",
            "maxProperties" : 0
          } ]
        }
      },
      "additionalProperties" : false,
      "minProperties" : 1
    },
    "type" : {
      "title" : "Type",
      "description" : "The type of the asset owned by the constituent (e.g.: real estate, art, stocks).",
      "type" : "object",
      "properties" : {
        "id" : {
          "title" : "ID",
          "description" : "The global identifier for the Type.",
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      },
      "links" : [ {
        "rel" : "self",
        "href" : "/asset-types/{id}",
        "targetSchema" : {
          "$ref" : "asset-types.json#"
        }
      } ],
      "additionalProperties" : false,
      "required" : [ "id" ]
    },
    "status" : {
      "title" : "Status",
      "description" : "The status of the asset owned by the constituent.",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Status.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/advancement-statuses/{id}",
          "targetSchema" : {
            "$ref" : "advancement-statuses.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "informationDate" : {
      "title" : "Information Date",
      "description" : "The date of the information for the asset.",
      "type" : "string",
      "format" : "date",
      "pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
    },
    "targetType" : {
      "title" : "Target Type",
      "description" : "The asset's target type (e.g.: individual, household).",
      "oneOf" : [ {
        "type" : "string",
        "enum" : [ "individual", "household" ]
      }, {
        "type" : "string",
        "maxLength" : 0
      } ]
    },
    "state" : {
      "title" : "State",
      "description" : "The state of the asset (e.g.: cash on hand, sale of the asset).",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the State.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/asset-states/{id}",
          "targetSchema" : {
            "$ref" : "asset-states.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "worth" : {
      "title" : "Worth",
      "description" : "The specified worth of the asset.",
      "oneOf" : [ {
        "type" : "object",
        "format" : "currency",
        "properties" : {
          "value" : {
            "title" : "Value",
            "description" : "The monetary value",
            "type" : "number"
          },
          "currency" : {
            "title" : "Currency",
            "description" : "The ISO 4217 currency code",
            "enum" : [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWL" ],
            "type" : "string"
          }
        },
        "additionalProperties" : false,
        "required" : [ "value", "currency" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "range" : {
      "title" : "Range",
      "description" : "The range within which the asset's worth falls.",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Range.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/advancement-currency-ranges/{id}",
          "targetSchema" : {
            "$ref" : "advancement-currency-ranges.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "source" : {
      "title" : "Source",
      "description" : "The source that provided the asset information.",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Source.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/advancement-sources/{id}",
          "targetSchema" : {
            "$ref" : "advancement-sources.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "comment" : {
      "title" : "Comment",
      "description" : "The comments about the asset.",
      "type" : "string"
    }
  },
  "required" : [ "id", "owner", "type", "informationDate" ],
  "additionalProperties" : false,
  "links" : [ {
    "rel" : "constituent-assets",
    "method" : "GET",
    "title" : "Constituent Assets",
    "description" : "The assets associated with a constituent.",
    "href" : "/constituent-assets?constituent.id={id}",
    "schema" : {
      "type" : "object",
      "properties" : {
        "constituent" : {
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      }
    }
  } ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy