
eedm.regions.v1.0.0.regions.json Maven / Gradle / Ivy
{
"title" : "Regions",
"description" : "The valid list of regions.",
"version" : "1.0.0",
"type" : "object",
"properties" : {
"metadata" : {
"$ref" : "resource:/eedm/metadata.json"
},
"id" : {
"title" : "ID",
"description" : "The global identifier of the region.",
"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 region.",
"type" : "string",
"minLength" : 1
},
"code" : {
"title" : "Code",
"description" : "The code used to identify the region.",
"type" : "string"
},
"isoCode" : {
"title" : "ISO Code",
"description" : "The ISO code used to identify the region.",
"type" : "string"
},
"country" : {
"title" : "Country",
"description" : "The country with which the region is associated.",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Country.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/countries/{id}",
"targetSchema" : {
"$ref" : "countries.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"required" : [ "id", "title" ],
"additionalProperties" : false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy