UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 8.6 kB
{"$id":"https://json.schemastore.org/pgap_yaml_input_reader","$schema":"http://json-schema.org/draft-07/schema#","type":"object","definitions":{},"title":"NCBI PGAP submol YAML","additionalProperties":false,"required":["authors","contact_info"],"properties":{"$schema":{"$id":"/$schema","type":"string","title":"Schema","default":"","examples":["https://json.schemastore.org/pgap_yaml_input_reader"]},"consortium":{"$id":"/properties/consortium","type":"string","title":"Consortium","default":"","examples":["SkyNet"]},"comment":{"$id":"/properties/comment","type":"string","title":"Free text comment about the genome assembly","default":"","examples":["This draft WGS assembly was generated by running SKESA to generate a de-novo assembly. The de-novo assembly was then concatenated with contigs generated using a guided assembler using antimicrobial resistance genes as baits to comprehensively catalog the set of resistance genes in the isolate. Note, some parts of the contigs derived from the guided assembler may overlap de-novo contigs, and other guided assembler contigs. De-novo contigs can be differentiated from guided assembler contigs by their names, which include either 'denovo' or 'guided'."]},"tp_assembly":{"$id":"/properties/tp_assembly","type":"boolean","title":"Reserved","default":false,"examples":[false]},"sra":{"$id":"/properties/sra","type":"array","title":"SRA assembly data","items":{"$id":"/properties/sra/items","type":"object","additionalProperties":false,"required":["accession"],"properties":{"accession":{"$id":"/properties/sra/items/properties/accession","type":"string","title":"SRA Accession","default":"","examples":["SRR8796989"]}}}},"authors":{"$id":"/properties/authors","type":"array","title":"Author(s) of the genome assembly","items":{"$id":"/properties/authors/items","type":"object","additionalProperties":false,"required":["author"],"properties":{"author":{"$id":"/properties/authors/items/properties/author","type":"object","additionalProperties":false,"required":["first_name","last_name"],"properties":{"first_name":{"$id":"/properties/authors/items/properties/author/properties/first_name","type":"string","title":"First name","default":"","examples":["Arnold"]},"last_name":{"$id":"/properties/authors/items/properties/author/properties/last_name","type":"string","title":"Last name","default":"","examples":["Schwarzenegger"]},"middle_initial":{"$id":"/properties/authors/items/properties/author/properties/middle_initial","type":"string","title":"First letter of middle name","default":"","examples":["T800"]}}}}}},"bioproject":{"$id":"/properties/bioproject","type":"string","title":"BioProject ID (PRJXX) for the project, if available","default":"","examples":["PRJ9999999"]},"biosample":{"$id":"/properties/biosample","type":"string","title":"BioSample ID (SAMXXX) for the sequenced sample, if available","default":"","examples":["SAMN99999999"]},"contact_info":{"$id":"/properties/contact_info","type":"object","title":"Submitter contact information","additionalProperties":false,"required":["organization","department","city","country","street","email","first_name","last_name","postal_code"],"properties":{"state":{"$id":"/properties/contact_info/properties/state","type":"string","title":"State or region","default":"","examples":["MD","Florida"]},"fax":{"$id":"/properties/contact_info/properties/fax","type":"string","title":"Fax number","default":"","examples":["301-555-1234","+7 095 555 1234"]},"city":{"$id":"/properties/contact_info/properties/city","type":"string","title":"City","default":"","examples":["Docker"]},"country":{"$id":"/properties/contact_info/properties/country","type":"string","title":"Country","default":"","examples":["Lappland"]},"department":{"$id":"/properties/contact_info/properties/department","type":"string","title":"Department or division submitting the genome assembly","default":"","examples":["Department of Using NCBI"]},"email":{"$id":"/properties/contact_info/properties/email","type":"string","title":"Email address","default":"","examples":["jane_doe@gmail.com"]},"first_name":{"$id":"/properties/contact_info/properties/first_name","type":"string","title":"First name","default":"","examples":["Jane"]},"middle_initial":{"$id":"/properties/contact_info/properties/middle_initial","type":"string","title":"First letter of middle name","default":"","examples":["N"]},"last_name":{"$id":"/properties/contact_info/properties/last_name","type":"string","title":"Last name","default":"","examples":["Doe"]},"organization":{"$id":"/properties/contact_info/properties/organization","type":"string","title":"Organization or consortium submitting the genome assembly","default":"","examples":["Institute of Klebsiella foobarensis research"]},"phone":{"$id":"/properties/contact_info/properties/phone","type":"string","title":"Phone number","default":"","examples":["301-555-0245"]},"postal_code":{"$id":"/properties/contact_info/properties/postal_code","type":"string","title":"Postal code","default":"","examples":["12345"]},"street":{"$id":"/properties/contact_info/properties/street","type":"string","title":"Street address","default":"","examples":["1234 Main St"]}}},"fasta":{"$id":"/properties/fasta","type":"object","additionalProperties":false,"properties":{"class":{"$id":"/properties/fasta/properties/class","type":"string","title":"Class of input type","default":"","examples":["File"]},"location":{"$id":"/properties/fasta/properties/location","type":"string","title":"Location of input file","default":"","examples":["sample_fasta_input.fasta"]}}},"locus_tag_prefix":{"$id":"/properties/locus_tag_prefix","type":"string","title":"Locus tag prefix","default":"","examples":["tmp"]},"organism":{"$id":"/properties/organism","type":"object","additionalProperties":false,"properties":{"strain":{"$id":"/properties/organism/properties/strain","type":"string","title":"Strain","default":"","examples":["my_strain"]},"genus_species":{"$id":"/properties/organism/properties/genus_species","type":"string","title":"Genus and species","default":"","examples":["Escherichia coli"]}}},"publications":{"$id":"/properties/publications","type":"array","title":"Publication describing the genome assembly","items":{"$id":"/properties/publications/items","type":"object","additionalProperties":false,"required":["publication"],"properties":{"publication":{"$id":"/properties/publications/items/properties/publication","type":"object","additionalProperties":false,"properties":{"authors":{"$id":"/properties/publications/items/properties/publication/properties/authors","title":"Author(s)","type":"array","items":{"$id":"/properties/publications/items/properties/publication/properties/authors/items","type":"object","additionalProperties":false,"properties":{"author":{"$id":"/properties/publications/items/properties/publication/properties/authors/items/properties/author","type":"object","additionalProperties":false,"required":["first_name","last_name"],"properties":{"first_name":{"$id":"/properties/publications/items/properties/publication/properties/authors/items/properties/author/properties/first_name","type":"string","title":"First name","default":"","examples":["Arnold"]},"last_name":{"$id":"/properties/publications/items/properties/publication/properties/authors/items/properties/author/properties/last_name","type":"string","title":"Last name","default":"","examples":["Schwarzenegger"]},"middle_initial":{"$id":"/properties/publications/items/properties/publication/properties/authors/items/properties/author/properties/middle_initial","type":"string","title":"First letter of middle name","default":"","examples":["T800"]}}}}}},"status":{"$id":"/properties/publications/items/properties/publication/properties/status","type":"string","title":"Publication status","default":"","enum":["published","in-press","unpublished"]},"pmid":{"$id":"/properties/publications/items/properties/publication/properties/pmid","type":"integer","title":"PubMed ID for the publication","default":""},"title":{"$id":"/properties/publications/items/properties/publication/properties/title","type":"string","title":"Title","default":"","examples":["Discrete CHARMm of Klebsiella foobarensis. Journal of Improbable Results, vol. 34, issue 13, pages: 10001-100005, 2018"]}}}}}},"topology":{"$id":"/properties/topology","type":"string","title":"Topology of the sequences included in the fasta file","default":"","examples":["circular","linear"]},"location":{"$id":"/properties/location","type":"string","title":"Location of the sequences included in the fasta file","default":"","examples":["chromosome","plasmid"]}}}