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

eedm.budget-phase-line-items.v12.0.budget-phase-line-items.json Maven / Gradle / Ivy

{
  "title" : "Budget Phase Line Items",
  "description" : "Budget details separated by line.",
  "type" : "object",
  "properties" : {
    "metadata" : {
      "$ref" : "resource:/eedm/metadata.json"
    },
    "id" : {
      "title" : "ID",
      "description" : "The global identifier of the budget phase line item.",
      "type" : "string",
      "format" : "guid",
      "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
    },
    "budgetPhase" : {
      "title" : "Budget Phase",
      "description" : "The budget phase to which the line item belongs.",
      "type" : "object",
      "properties" : {
        "id" : {
          "title" : "ID",
          "description" : "The global identifier for the Budget Phase.",
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      },
      "links" : [ {
        "rel" : "self",
        "href" : "/budget-phases/{id}",
        "targetSchema" : {
          "$ref" : "budget-phases.json#"
        }
      } ],
      "additionalProperties" : false,
      "required" : [ "id" ]
    },
    "accountingStringComponentValues" : {
      "title" : "Accounting String Component Values",
      "description" : "The accounting string details of the line item.",
      "type" : "array",
      "items" : {
        "title" : "Accounting String Component Values",
        "description" : "The accounting string details of the line item.",
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Accounting String Component Values.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/accounting-string-component-values/{id}",
          "targetSchema" : {
            "$ref" : "accounting-string-component-values.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }
    },
    "amount" : {
      "title" : "Amount",
      "description" : "The amount associated with the line item.",
      "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
      } ]
    },
    "comment" : {
      "title" : "Comment",
      "description" : "The comment associated with the line item.",
      "type" : "string"
    }
  },
  "required" : [ "id", "budgetPhase" ],
  "additionalProperties" : false,
  "links" : [ {
    "rel" : "filter",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/budget-phase-line-items?filter={\"budgetPhase\": {\"id\": $id}}",
    "title" : "Budget Phase",
    "description" : "The budget phase to which the line item belongs.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "budgetPhase" : {
          "type" : "object",
          "properties" : {
            "id" : {
              "type" : "string",
              "format" : "guid",
              "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
            }
          }
        }
      }
    },
    "targetSchema" : {
      "$ref" : "budget-phase-line-items.json#"
    }
  }, {
    "rel" : "filter",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/budget-phase-line-items?filter={\"accountingStringComponentValues\": {\"id\": $id}}",
    "title" : "Accounting String Component Values",
    "description" : "The accounting string details of the line item.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "accountingStringComponentValues" : {
          "type" : "array",
          "items" : {
            "type" : "object",
            "properties" : {
              "id" : {
                "type" : "string",
                "format" : "guid",
                "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
              }
            }
          }
        }
      }
    },
    "targetSchema" : {
      "$ref" : "budget-phase-line-items.json#"
    }
  } ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy