AwardSecrets · JSON-LD Context
Awardsecrets Com Context
JSON-LD context defining the semantic vocabulary for Awardsecrets Com from AwardSecrets.
8 Classes
75 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
awardsecrets:
https://awardsecrets.com/schema#
Classes
ErrorResponse
PointsRequest
PriceOption
PointsResponse
AnswerResult
BestPathResult
X402PaymentRequired
X402PaidAnswer
Properties
| Property | Type | Container |
|---|---|---|
| status | string | |
| error | string | |
| trace_id | string | |
| reset_on | string | |
| retry_after | integer | |
| operation | string | |
| carrier | string | |
| origin | string | |
| destination | string | |
| cabin | string | |
| via | list | |
| currencies_held | list | |
| programme | string | |
| programme_code | string | |
| from_currency | string | |
| date | date | |
| question | string | |
| previous_fields | ||
| airline | string | |
| airlines | list | |
| points_held | list | |
| passengers | integer | |
| programme_name | string | |
| miles | integer | |
| price_type | string | |
| pricing_basis | string | |
| legs | list | |
| peak_miles | integer | |
| peak_note | string | |
| price_note | string | |
| stale | boolean | |
| stale_note | string | |
| surcharge_level | string | |
| surcharge_usd_approx | decimal | |
| bookable_online | boolean | |
| phone_only_note | string | |
| notes | string | |
| as_of | date | |
| reachable_from | list | |
| unpriced_reason | string | |
| unpriced_note | string | |
| round_trip | boolean | |
| season | string | |
| season_miles | ||
| confidence | string | |
| pricing_model | string | |
| surcharge_confidence | string | |
| surcharge_basis | string | |
| valuation_cpp | decimal | |
| quota_remaining | integer | |
| query | ||
| result | ||
| charged | boolean | |
| answer_status | string | |
| answer | string | |
| availability_checked | boolean | |
| requested_cabin | string | |
| priced_cabin | string | |
| cabin_note | string | |
| ranking | string | |
| fields | ||
| points_assumed | list | |
| options | list | |
| count_priced | integer | |
| basis | string | |
| priced | list | |
| unpriced | list | |
| stale_count | integer | |
| per_flight_note | string | |
| count_unpriced_dynamic | integer | |
| count_unpriced_no_data | integer | |
| x402Version | integer | |
| resource | ||
| accepts | list | |
| payment |
JSON-LD Document
{
"@context": {
"@vocab": "https://awardsecrets.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"awardsecrets": "https://awardsecrets.com/schema#",
"ErrorResponse": "awardsecrets:ErrorResponse",
"status": {
"@id": "awardsecrets:status",
"@type": "xsd:string"
},
"error": {
"@id": "awardsecrets:error",
"@type": "xsd:string"
},
"trace_id": {
"@id": "awardsecrets:trace_id",
"@type": "xsd:string"
},
"reset_on": {
"@id": "awardsecrets:reset_on",
"@type": "xsd:string"
},
"retry_after": {
"@id": "awardsecrets:retry_after",
"@type": "xsd:integer"
},
"PointsRequest": "awardsecrets:PointsRequest",
"operation": {
"@id": "awardsecrets:operation",
"@type": "xsd:string"
},
"carrier": {
"@id": "awardsecrets:carrier",
"@type": "xsd:string"
},
"origin": {
"@id": "awardsecrets:origin",
"@type": "xsd:string"
},
"destination": {
"@id": "awardsecrets:destination",
"@type": "xsd:string"
},
"cabin": {
"@id": "awardsecrets:cabin",
"@type": "xsd:string"
},
"via": {
"@id": "awardsecrets:via",
"@container": "@list"
},
"currencies_held": {
"@id": "awardsecrets:currencies_held",
"@container": "@list"
},
"programme": {
"@id": "awardsecrets:programme",
"@type": "xsd:string"
},
"programme_code": {
"@id": "awardsecrets:programme_code",
"@type": "xsd:string"
},
"from_currency": {
"@id": "awardsecrets:from_currency",
"@type": "xsd:string"
},
"date": {
"@id": "awardsecrets:date",
"@type": "xsd:date"
},
"question": {
"@id": "awardsecrets:question",
"@type": "xsd:string"
},
"previous_fields": {
"@id": "awardsecrets:previous_fields"
},
"airline": {
"@id": "awardsecrets:airline",
"@type": "xsd:string"
},
"airlines": {
"@id": "awardsecrets:airlines",
"@container": "@list"
},
"points_held": {
"@id": "awardsecrets:points_held",
"@container": "@list"
},
"passengers": {
"@id": "awardsecrets:passengers",
"@type": "xsd:integer"
},
"PriceOption": "awardsecrets:PriceOption",
"programme_name": {
"@id": "awardsecrets:programme_name",
"@type": "xsd:string"
},
"miles": {
"@id": "awardsecrets:miles",
"@type": "xsd:integer"
},
"price_type": {
"@id": "awardsecrets:price_type",
"@type": "xsd:string"
},
"pricing_basis": {
"@id": "awardsecrets:pricing_basis",
"@type": "xsd:string"
},
"legs": {
"@id": "awardsecrets:legs",
"@container": "@list"
},
"peak_miles": {
"@id": "awardsecrets:peak_miles",
"@type": "xsd:integer"
},
"peak_note": {
"@id": "awardsecrets:peak_note",
"@type": "xsd:string"
},
"price_note": {
"@id": "awardsecrets:price_note",
"@type": "xsd:string"
},
"stale": {
"@id": "awardsecrets:stale",
"@type": "xsd:boolean"
},
"stale_note": {
"@id": "awardsecrets:stale_note",
"@type": "xsd:string"
},
"surcharge_level": {
"@id": "awardsecrets:surcharge_level",
"@type": "xsd:string"
},
"surcharge_usd_approx": {
"@id": "awardsecrets:surcharge_usd_approx",
"@type": "xsd:decimal"
},
"bookable_online": {
"@id": "awardsecrets:bookable_online",
"@type": "xsd:boolean"
},
"phone_only_note": {
"@id": "awardsecrets:phone_only_note",
"@type": "xsd:string"
},
"notes": {
"@id": "awardsecrets:notes",
"@type": "xsd:string"
},
"as_of": {
"@id": "awardsecrets:as_of",
"@type": "xsd:date"
},
"reachable_from": {
"@id": "awardsecrets:reachable_from",
"@container": "@list"
},
"unpriced_reason": {
"@id": "awardsecrets:unpriced_reason",
"@type": "xsd:string"
},
"unpriced_note": {
"@id": "awardsecrets:unpriced_note",
"@type": "xsd:string"
},
"round_trip": {
"@id": "awardsecrets:round_trip",
"@type": "xsd:boolean"
},
"season": {
"@id": "awardsecrets:season",
"@type": "xsd:string"
},
"season_miles": {
"@id": "awardsecrets:season_miles"
},
"confidence": {
"@id": "awardsecrets:confidence",
"@type": "xsd:string"
},
"pricing_model": {
"@id": "awardsecrets:pricing_model",
"@type": "xsd:string"
},
"surcharge_confidence": {
"@id": "awardsecrets:surcharge_confidence",
"@type": "xsd:string"
},
"surcharge_basis": {
"@id": "awardsecrets:surcharge_basis",
"@type": "xsd:string"
},
"valuation_cpp": {
"@id": "awardsecrets:valuation_cpp",
"@type": "xsd:decimal"
},
"PointsResponse": "awardsecrets:PointsResponse",
"quota_remaining": {
"@id": "awardsecrets:quota_remaining",
"@type": "xsd:integer"
},
"query": {
"@id": "awardsecrets:query"
},
"result": {
"@id": "awardsecrets:result"
},
"charged": {
"@id": "awardsecrets:charged",
"@type": "xsd:boolean"
},
"AnswerResult": "awardsecrets:AnswerResult",
"answer_status": {
"@id": "awardsecrets:answer_status",
"@type": "xsd:string"
},
"answer": {
"@id": "awardsecrets:answer",
"@type": "xsd:string"
},
"availability_checked": {
"@id": "awardsecrets:availability_checked",
"@type": "xsd:boolean"
},
"requested_cabin": {
"@id": "awardsecrets:requested_cabin",
"@type": "xsd:string"
},
"priced_cabin": {
"@id": "awardsecrets:priced_cabin",
"@type": "xsd:string"
},
"cabin_note": {
"@id": "awardsecrets:cabin_note",
"@type": "xsd:string"
},
"ranking": {
"@id": "awardsecrets:ranking",
"@type": "xsd:string"
},
"fields": {
"@id": "awardsecrets:fields"
},
"points_assumed": {
"@id": "awardsecrets:points_assumed",
"@container": "@list"
},
"options": {
"@id": "awardsecrets:options",
"@container": "@list"
},
"count_priced": {
"@id": "awardsecrets:count_priced",
"@type": "xsd:integer"
},
"basis": {
"@id": "awardsecrets:basis",
"@type": "xsd:string"
},
"BestPathResult": "awardsecrets:BestPathResult",
"priced": {
"@id": "awardsecrets:priced",
"@container": "@list"
},
"unpriced": {
"@id": "awardsecrets:unpriced",
"@container": "@list"
},
"stale_count": {
"@id": "awardsecrets:stale_count",
"@type": "xsd:integer"
},
"per_flight_note": {
"@id": "awardsecrets:per_flight_note",
"@type": "xsd:string"
},
"count_unpriced_dynamic": {
"@id": "awardsecrets:count_unpriced_dynamic",
"@type": "xsd:integer"
},
"count_unpriced_no_data": {
"@id": "awardsecrets:count_unpriced_no_data",
"@type": "xsd:integer"
},
"X402PaymentRequired": "awardsecrets:X402PaymentRequired",
"x402Version": {
"@id": "awardsecrets:x402Version",
"@type": "xsd:integer"
},
"resource": {
"@id": "awardsecrets:resource"
},
"accepts": {
"@id": "awardsecrets:accepts",
"@container": "@list"
},
"X402PaidAnswer": "awardsecrets:X402PaidAnswer",
"payment": {
"@id": "awardsecrets:payment"
}
},
"@type": "schema:Dataset",
"schema:name": "AwardSecrets API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects AwardSecrets's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-25) from openapi/awardsecrets-com-api-php-api-openapi.yml, openapi/awardsecrets-com-openapi.json.",
"dcterms:created": "2026-11-25",
"dcterms:source": [
"openapi/awardsecrets-com-api-php-api-openapi.yml",
"openapi/awardsecrets-com-openapi.json"
]
}