## Compartment

typecode = SBML_COMPARTMENT

## SBML Level 1

Version 1 | Version 2

Fieldname | Type
--- | ---
`typecode` | as above
`notes` | string
`annotation` | string
`name` | string
`volume` | double
`units` | string
`outside` | string
`isSetVolume` | boolean

Fieldname | Type
--- | ---
`typecode` | as above
`notes` | string
`annotation` | string
`name` | string
`volume` | double
`units` | string
`outside` | string
`isSetVolume` | boolean

## SBML Level 2

Version 1 | Version 2

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`name` | string
`id` | string
`spatialDimensions` | integer
`size` | double
`units` | string
`outside` | string
`constant` | boolean
`isSetSize` | boolean
`isSetVolume` | boolean

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`name` | string
`id` | string
`compartmentType` | string
`spatialDimensions` | integer
`size` | double
`units` | string
`outside` | string
`constant` | boolean
`isSetSize` | boolean
`isSetVolume` | boolean

Version 3 | Version 4

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`sboTerm` | integer
`name` | string
`id` | string
`compartmentType` | string
`spatialDimensions` | integer
`size` | double
`units` | string
`outside` | string
`constant` | boolean
`isSetSize` | boolean
`isSetVolume` | boolean

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`sboTerm` | integer
`name` | string
`id` | string
`compartmentType` | string
`spatialDimensions` | integer
`size` | double
`units` | string
`outside` | string
`constant` | boolean
`isSetSize` | boolean
`isSetVolume` | boolean

## SBML Level 3

Version 1

Fieldname | Type
--- | ---
`typecode` | as above
`metaid` | string
`notes` | string
`annotation` | string
`sboTerm` | integer
`name` | string
`id` | string
`spatialDimensions` | integer
`size` | double
`units` | string
`constant` | boolean
`isSetSize` | boolean
`isSetSpatialDimensions` | boolean