/* This schema specifies model components for describing animal subjects in neuroscience experiments. Included are: - taxonomy - training status - receptive field (for a recording site in an animal subject) - motor behavior (for a recording site in an animal subject) */ targetNamespace "urn:bml/brainml.org:med.cornell.edu/AnimalSubject/1" namespace "urn:bml/brainml.org:med.cornell.edu/AnimalSubject/1" namespace bml "urn:bml/brainml.org:internal/BrainML/5" namespace bmtl "urn:bml/brainml.org:internal/BrainMetaL/1" import "http://brainml.org/schemas/internal/BrainMetaL/1/xml.xsd" namespace "http://www.w3.org/XML/1998/namespace" import "http://brainml.org/schemas/internal/BrainMetaL/1/citation.xsd" namespace "urn:bml/brainml.org:internal/BrainMetaL/1" import "http://brainml.org/schemas/internal/BrainML/5/brainml.xsd" namespace "urn:bml/brainml.org:internal/BrainML/5" complexType subject-type extends bml:subject_or_preparation-type { ( taxonomy, size?, sex?, trained_status ) } /* Species of the Subject. */ element taxonomy restricts bmtl:vocab-type { attribute domain { xs:token } = "subject.taxonomy" } /* Mass in KG of Subject. */ element size { xs:decimal { ( 0, ] } } /* Sex of Subject. */ element sex restricts bmtl:vocab-type { attribute domain { xs:token } = "subject.sex" } /* Training state of Subject. */ element trained_status restricts bmtl:vocab-type { attribute domain { xs:token } = "subject.trained status" } /* Holds information on experimental Subject recordings are made from. */ element subject substitutes bml:subject_or_preparation { subject-type } /* Receptive field (for a recording location). */ element receptive_field { receptive_field-type } complexType receptive_field-type { ( side?, modality?, location?, adaptation? ) } /* Modality of the RF. */ element modality restricts bmtl:vocab-type { attribute domain { xs:token } = "receptive field.modality" } /* Location of the RF. */ element location restricts bmtl:vocab-type { attribute domain { xs:token } = "receptive field.location" } /* Adaptation of the RF. */ element adaptation restricts bmtl:vocab-type { attribute domain { xs:token } = "receptive field.adaptation" } /* Side of RF. */ element side restricts bmtl:vocab-type { attribute domain { xs:token } = "receptive field.side" } /* Motor behavior (for a recording location). */ element motor_behavior { motor_behavior-type } complexType motor_behavior-type { ( structure?, action?, timing? ) } /* Structure for the motor behavior. */ element structure restricts bmtl:vocab-type { attribute domain { xs:token } = "motor behavior.structure" } /* Action for the motor behavior. */ element action restricts bmtl:vocab-type { attribute domain { xs:token } = "motor behavior.action" } /* Timing for the motor behavior. */ element timing restricts bmtl:vocab-type { attribute domain { xs:token } = "motor behavior.timing" }