## Model

typecode = SBML_MODEL

## SBML Level 1

Version 1 | Version 2

Fieldname | Type
--- | ---
`typecode` | as above
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
unitDefinition | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
rule | array of structures
reaction | array of structures

Fieldname | Type
--- | ---
`typecode` | as above
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
unitDefinition | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
rule | array of structures
reaction | array of structures

## SBML Level 2

Version 1 | Version 2

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
`id` | string
functionDefinition | array of structures
unitDefinition | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
rule | array of structures
reaction | array of structures
event | array of structures

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
`id` | string
`sboTerm` | integer
functionDefinition | array of structures
unitDefinition | array of structures
compartmentType | array of structures
speciesType | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
initialAssignment | array of structures
rule | array of structures
constraint | array of structures
reaction | array of structures
event | array of structures

Version 3 | Version 4

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
`id` | string
`sboTerm` | integer
functionDefinition | array of structures
unitDefinition | array of structures
compartmentType | array of structures
speciesType | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
initialAssignment | array of structures
rule | array of structures
constraint | array of structures
reaction | array of structures
event | array of structures

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
`id` | string
`sboTerm` | integer
functionDefinition | array of structures
unitDefinition | array of structures
compartmentType | array of structures
speciesType | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
initialAssignment | array of structures
rule | array of structures
constraint | array of structures
reaction | array of structures
event | array of structures

## SBML Level 3

Version 1

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`SBML_level` | double
`SBML_version` | double
`name` | string
`id` | string
`sboTerm` | integer
functionDefinition | array of structures
unitDefinition | array of structures
compartment | array of structures
species | array of structures
parameter | array of structures
initialAssignment | array of structures
rule | array of structures
constraint | array of structures
reaction | array of structures
event | array of structures
`substanceUnits` | string
`timeUnits` | string
`lengthUnits` | string
`areaUnits` | string
`volumeUnits` | string
`extentUnits` | string
`conversionFactor` | string