# RupaFile

A `.rupaplay` file, version 1: what the export writes (gzipped JSON) and `loadFile` reads. Its `html` and `css` are
untrusted text: only `mountFile` writes them into the page, sanitised.

## Properties

### classes

> `readonly` **classes**: readonly `string`\[]

Every class of the markup's nodes (the `auto` markup choice looks for each).

***

### css

> `readonly` **css**: `string`

The design and animation CSS, scoped by the root class. Untrusted text: only `mountFile` installs it, sanitised.

***

### data

> `readonly` **data**: [`PlayerData`](/reference/api/rupamotion/player/interfaces/playerdata/)

The flow's table.

***

### fonts

> `readonly` **fonts**: readonly `string`\[]

The font stylesheets of an export whose fonts stay external (Fontsource on jsDelivr only); empty when embedded.

***

### format

> `readonly` **format**: `"rupaplay"`

Always `"rupaplay"`.

***

### html

> `readonly` **html**: `string`

The root's markup (the root element itself). Untrusted text: only `mountFile` writes it, sanitised.

***

### player

> `readonly` **player**: `string`

The oldest player that reads it (`x.y.z`): an older player refuses the file (`version`).

***

### root

> `readonly` **root**: `string`

The root's class.

***

### version

> `readonly` **version**: `1`

The file format's version, `1`.
