> For the complete documentation index, see [llms.txt](https://docs.unisphere.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unisphere.io/unisphere-apis/examples.md).

# Examples

Find below an example for CMF3 which you can use to build up your request structure.

## Scenario A - BVLOS Delivery Flight

Route & Vertical Profile

Aircraft Performance

Aircraft Limitations

Operational Limitations

Takeoff Time

Battery State of Charge at Takeoff

### Step 1 - Create a Flight Simulation

```javascript
// Example Mission
const response = await fetch('/check-my-flight/v1/cmf3', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "performance_parameters": [
        {
          "name": "text",
          "type": "text",
          "unit": "text",
          "value": 0
        }
      ],
      "limit_parameters": [
        {
          "name": "text",
          "type": "text",
          "unit": "text",
          "altitude_type": "text",
          "altitude_unit": "text"
        }
      ],
      "route": [
        {
          "latitude": 0,
          "longitude": 0,
          "altitude": 0,
          "altitude_type": "AGL"
        }
      ],
      "take_off": "2024-10-22T08:51:04.497Z",
      "battery_soc": 0
    }),
});
const data = await response.json();
```
