
eedm.person-achievements.v10.0.person-achievements.json Maven / Gradle / Ivy
{
"title" : "Person Achievements",
"description" : "Awards or certificates that exemplify a person's achievements.",
"type" : "object",
"properties" : {
"metadata" : {
"$ref" : "resource:/eedm/metadata.json"
},
"id" : {
"title" : "ID",
"description" : "The global identifier of the person achievement.",
"type" : "string",
"format" : "guid",
"pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
},
"title" : {
"title" : "Title",
"description" : "The title of the achievement.",
"type" : "string",
"minLength" : 1
},
"person" : {
"title" : "Person",
"description" : "The person who earned the achievement.",
"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" : "/persons/{id}",
"targetSchema" : {
"$ref" : "persons.json#"
}
} ],
"additionalProperties" : false,
"required" : [ "id" ]
},
"issuedBy" : {
"title" : "Issued By",
"description" : "The person who issued the achievement.",
"type" : "string"
},
"issuedOn" : {
"title" : "Issued On",
"description" : "The date when the achievement was issued.",
"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
} ]
},
"expiresOn" : {
"title" : "Expires On",
"description" : "The date when the achievement expires.",
"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", "person" ],
"additionalProperties" : false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy