{ "description": "ELIXIR Luxembourg Core json schema", "title": "Schema containing core attributes for any json serialisable ELIXIR Luxembourg record.", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "required": [ "source", "name" ], "properties": { "source": { "type": "string", "format": "uri" }, "acronym": { "type": "string" }, "name": { "type": "string" }, "description": { "type": ["string", "null"] }, "elu_accession": { "type": ["string", "null"] }, "elu_uuid": { "type": ["string", "null"] }, "other_external_id": { "type": ["string", "null"] }, "contacts": { "type": "array", "items": { "type": "object", "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "role": { "type": "string", "enum": [ "Principal_Investigator", "Researcher", "Data_Manager", "Data_Protection_Officer", "Legal_Representative", "Other" ] }, "email": { "type": "string", "format": "email" }, "affiliations": { "description": "Names of the affiliated institutions.", "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": ["string", "null"] } } }, "required": [ "first_name", "last_name", "role", "email", "affiliations" ] } } } }