Properties
| Name | Type | Description |
|---|---|---|
| schema | string | The format id of this answer. |
| verdict | string | eligible: every condition holds and the amount is settled. not_eligible: a rule decides it by itself (no regime covers the flight, 14 days of notice, a replacement within the time limits, an arrival l |
| depends_on | array | Why the verdict is depends (empty otherwise): branch on these without parsing text. |
| regime | object | The rules that apply (the departure airport's first); null when none, or when the facts leave it open. |
| also_regime | object | The other rules may also cover the flight; compensation is paid once, never added. |
| rules | object | The rules version by flight date, the day its data was read, and the flight dates Myrmigo serves it for. |
| flight | object | The facts as the rules read them. An airport or airline the data does not list is `known: false` or null, never guessed. |
| compensation | object | The amount per passenger, from the rules' own table only. either: full or halved, depending on when the replacement arrived; unknown: `possible` lists every amount the facts leave open. |
| why | array | The reasons, in order, each with the rule ids and source ids it rests on. |
| assumes | array | What the answer takes as given. |
| owed_now | array | What the airline owes whatever the verdict (refund within 7 days or re-routing, care). |
| questions | array | What would settle or change the verdict: ask the user, then call again with the input filled. |
| claim | array | Where the traveller claims, in order: the airline first, then the national enforcement body (EU261) or the ADR scheme or the CAA (UK261). The traveller files personally; Myrmigo submits nothing. Links |
| evidence | array | What to keep. Myrmigo needs none of it. |
| limitation | object | The claim deadline: a period only where an official body states one (`periods`); a cautious note with its sources where the law is read but not settled (`notes`, e.g. Greece); otherwise national law, |
| sources | array | The official sources behind the answer, with the day each was read. |
| card | string | The same answer as compact text for a model (what the MCP tool returns). Not a stable format: parse the fields, not the card. |
| notice | string | A descriptive rules check from dated official sources, not legal advice: the airline, the enforcement body or a court decides. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/myrmigo-com/json-schema/myrmigo-com-rights-answer-schema.json",
"title": "RightsAnswer",
"x-generated": "2026-11-18",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/myrmigo-com-openapi.json#/components/schemas/RightsAnswer",
"type": "object",
"properties": {
"schema": {
"type": "string",
"const": "myrmigo.rights/1",
"description": "The format id of this answer."
},
"verdict": {
"type": "string",
"description": "eligible: every condition holds and the amount is settled. not_eligible: a rule decides it by itself (no regime covers the flight, 14 days of notice, a replacement within the time limits, an arrival less than 3 h late). depends: a fact, a proof or a legal question is open; ask the user `questions`."
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
},
"description": "Why the verdict is depends (empty otherwise): branch on these without parsing text."
},
"regime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The rules that apply (the departure airport's first); null when none, or when the facts leave it open."
},
"also_regime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The other rules may also cover the flight; compensation is paid once, never added."
},
"rules": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"as_of": {
"type": "string"
},
"covers": {
"type": "object",
"properties": {
"from": {
"type": [
"string",
"null"
]
},
"to": {
"type": [
"string",
"null"
]
}
},
"required": [
"from",
"to"
]
}
},
"required": [
"id",
"as_of",
"covers"
]
},
{
"type": "null"
}
],
"description": "The rules version by flight date, the day its data was read, and the flight dates Myrmigo serves it for."
},
"flight": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"event": {
"type": "string"
},
"cause": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"from": {
"type": "object",
"properties": {
"iata": {
"type": "string"
},
"known": {
"type": "boolean"
},
"name": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"area": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"iata",
"known",
"name",
"country",
"area"
]
},
"to": {
"type": "object",
"properties": {
"iata": {
"type": "string"
},
"known": {
"type": "boolean"
},
"name": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"area": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"iata",
"known",
"name",
"country",
"area"
]
},
"carrier": {
"type": "object",
"properties": {
"code": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"licence": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "ambiguous"
}
]
},
{
"type": "null"
}
]
},
"operators": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"code",
"name",
"licence",
"operators"
]
},
"distance_km": {
"type": [
"number",
"null"
]
},
"distance_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"intra_community": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"date",
"event",
"cause",
"from",
"to",
"carrier",
"distance_km",
"distance_basis",
"intra_community"
],
"description": "The facts as the rules read them. An airport or airline the data does not list is `known: false` or null, never guessed."
},
"compensation": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"full": {
"type": [
"number",
"null"
]
},
"reduced": {
"type": [
"number",
"null"
]
},
"applies": {
"type": "string"
},
"possible": {
"type": "array",
"items": {
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"amount": {
"type": "number"
}
},
"required": [
"currency",
"amount"
]
}
},
"band": {
"type": [
"string",
"null"
]
},
"per": {
"type": "string",
"const": "passenger"
}
},
"required": [
"kind",
"currency",
"full",
"reduced",
"applies",
"possible",
"band",
"per"
],
"description": "The amount per passenger, from the rules' own table only. either: full or halved, depending on when the replacement arrived; unknown: `possible` lists every amount the facts leave open."
},
"why": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": [
"string",
"null"
]
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
},
"text": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"rule",
"rules",
"text",
"sources"
]
},
"description": "The reasons, in order, each with the rule ids and source ids it rests on."
},
"assumes": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the answer takes as given."
},
"owed_now": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"text": {
"type": "string"
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"kind",
"text",
"rules"
]
},
"description": "What the airline owes whatever the verdict (refund within 7 days or re-routing, care)."
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"input": {
"type": "string"
},
"ask": {
"type": "string"
},
"changes": {
"type": "string"
}
},
"required": [
"input",
"ask",
"changes"
]
},
"description": "What would settle or change the verdict: ask the user, then call again with the input filled."
},
"claim": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "number"
},
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"via_group": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
{
"type": "null"
}
],
"description": "Set on the airline step when `url` is its group's claim form, which the airline's own site sends passengers to (Olympic Air: the Aegean Airlines form); null otherwise."
},
"email": {
"type": [
"string",
"null"
]
},
"forms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"language",
"url"
]
}
},
"when": {
"type": "string"
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"step",
"kind",
"name",
"url",
"via_group",
"email",
"forms",
"when",
"rules"
]
},
"description": "Where the traveller claims, in order: the airline first, then the national enforcement body (EU261) or the ADR scheme or the CAA (UK261). The traveller files personally; Myrmigo submits nothing. Links only where they were read on the official site (or, `via_group`, on the airline's group's site, where its own site sends passengers)."
},
"evidence": {
"type": "array",
"items": {
"type": "string"
},
"description": "What to keep. Myrmigo needs none of it."
},
"limitation": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"rules": {
"type": "array",
"items": {
"type": "string"
}
},
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"period": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"country",
"period",
"source"
]
}
},
"notes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"text": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"country",
"text",
"sources"
]
}
}
},
"required": [
"text",
"rules",
"periods",
"notes"
],
"description": "The claim deadline: a period only where an official body states one (`periods`); a cautious note with its sources where the law is read but not settled (`notes`, e.g. Greece); otherwise national law, check."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
},
"url": {
"type": "string"
},
"fetched_on": {
"type": "string"
}
},
"required": [
"id",
"title",
"publisher",
"url",
"fetched_on"
]
},
"description": "The official sources behind the answer, with the day each was read."
},
"card": {
"type": "string",
"description": "The same answer as compact text for a model (what the MCP tool returns). Not a stable format: parse the fields, not the card."
},
"notice": {
"type": "string",
"const": "not_legal_advice",
"description": "A descriptive rules check from dated official sources, not legal advice: the airline, the enforcement body or a court decides."
}
},
"required": [
"schema",
"verdict",
"depends_on",
"regime",
"also_regime",
"rules",
"flight",
"compensation",
"why",
"assumes",
"owed_now",
"questions",
"claim",
"evidence",
"limitation",
"sources",
"card",
"notice"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/myrmigo-com-rights-answer"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.