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

eedm.employment-departments.v12.1.0.employment-departments.json Maven / Gradle / Ivy

{
  "title" : "Employment Departments",
  "description" : "The valid list of user defined employment departments.",
  "version" : "12.1.0",
  "type" : "object",
  "properties" : {
    "metadata" : {
      "$ref" : "resource:/eedm/metadata.json"
    },
    "id" : {
      "title" : "ID",
      "description" : "The global identifier of the employment department.",
      "type" : "string",
      "format" : "guid",
      "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
    },
    "title" : {
      "title" : "Title",
      "description" : "The full name of the employment department.",
      "type" : "string",
      "minLength" : 1
    },
    "description" : {
      "title" : "Description",
      "description" : "The description of the employment department.",
      "type" : "string"
    },
    "code" : {
      "title" : "Code",
      "description" : "The code used to identify the employment department.",
      "type" : "string"
    },
    "status" : {
      "title" : "Status",
      "description" : "The status of the employment department.",
      "enum" : [ "active", "inactive" ],
      "type" : "string"
    },
    "endOn" : {
      "title" : "End On",
      "description" : "The date the employment department becomes inactive.",
      "oneOf" : [ {
        "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])$"
      }, {
        "type" : "string",
        "maxLength" : 0
      } ]
    }
  },
  "required" : [ "id", "title", "status" ],
  "additionalProperties" : false,
  "links" : [ {
    "rel" : "filter",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/employment-departments?criteria={\"code\": {$code}}",
    "title" : "Code",
    "description" : "The code used to identify the employment department.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "code" : {
          "type" : "string"
        }
      }
    },
    "targetSchema" : {
      "$ref" : "employment-departments.json#"
    }
  } ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy