{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api-evangelist.github.io/benchling/json-schema/Entity.json", "title": "Entity", "discriminator": { "mapping": { "aa_sequence": "#/components/schemas/AaSequenceWithEntityType", "custom_entity": "#/components/schemas/CustomEntityWithEntityType", "dna_oligo": "#/components/schemas/DnaOligoWithEntityType", "dna_sequence": "#/components/schemas/DnaSequenceWithEntityType", "mixture": "#/components/schemas/MixtureWithEntityType", "molecule": "#/components/schemas/MoleculeWithEntityType", "rna_oligo": "#/components/schemas/RnaOligoWithEntityType", "rna_sequence": "#/components/schemas/RnaSequenceWithEntityType" }, "propertyName": "entityType" }, "oneOf": [ { "$ref": "#/components/schemas/DnaSequenceWithEntityType" }, { "$ref": "#/components/schemas/RnaSequenceWithEntityType" }, { "$ref": "#/components/schemas/AaSequenceWithEntityType" }, { "$ref": "#/components/schemas/MixtureWithEntityType" }, { "$ref": "#/components/schemas/DnaOligoWithEntityType" }, { "$ref": "#/components/schemas/RnaOligoWithEntityType" }, { "$ref": "#/components/schemas/MoleculeWithEntityType" }, { "$ref": "#/components/schemas/CustomEntityWithEntityType" } ], "type": "object" }