
eedm.sites.v6.0.sites.json Maven / Gradle / Ivy
{
"title" : "Sites",
"description" : "A physical location within the organization.",
"type" : "object",
"properties" : {
"metadata" : {
"$ref" : "resource:/eedm/metadata.json"
},
"id" : {
"title" : "ID",
"description" : "A globally unique identifier",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
},
"code" : {
"title" : "Code",
"description" : "The code that identifies the site.",
"type" : "string"
},
"title" : {
"title" : "Title",
"description" : "The full name of the site.",
"type" : "string",
"minLength" : 1
},
"description" : {
"title" : "Description",
"description" : "A description of the site.",
"type" : "string"
},
"institution" : {
"title" : "Institution",
"description" : "The educational institution the site belongs to",
"oneOf" : [ {
"type" : "object",
"properties" : {
"id" : {
"title" : "ID",
"description" : "The global identifier for the Institution.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
}
},
"links" : [ {
"rel" : "self",
"href" : "/educational-institutions/{id}",
"targetSchema" : {
"$ref" : "educational-institutions.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
}, {
"type" : "object",
"maxProperties" : 0
} ]
}
},
"required" : [ "id", "title" ],
"additionalProperties" : false,
"links" : [ {
"rel" : "buildings",
"title" : "Buildings",
"description" : "The buildings in this site.",
"href" : "/buildings?site.id={id}",
"targetSchema" : {
"$ref" : "buildings.json#"
}
} ]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy