AccuWeather · Schema
OrtbSite
OrtbSite schema from AccuWeather API
WeatherForecastsMeteorologyLocation ServicesAir QualityStorms
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| domain | string | |
| categories | array | |
| sectionCategories | array | |
| pageCategories | array | |
| keywords | string | |
| pageUrl | string | |
| referrerUrl | string | |
| isOptimizedForMobile | boolean | |
| hasPrivacyPolicy | boolean | |
| publisher | object | |
| content | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/accuweather/refs/heads/main/json-schema/accuweather-ortb-site-schema.json",
"title": "OrtbSite",
"description": "OrtbSite schema from AccuWeather API",
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"domain": {
"type": "string",
"nullable": true
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"sectionCategories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pageCategories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"keywords": {
"type": "string",
"nullable": true
},
"pageUrl": {
"type": "string",
"nullable": true
},
"referrerUrl": {
"type": "string",
"nullable": true
},
"isOptimizedForMobile": {
"type": "boolean"
},
"hasPrivacyPolicy": {
"type": "boolean"
},
"publisher": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"domain": {
"type": "string",
"nullable": true
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"content": {
"type": "object",
"properties": {
"title": {
"type": "string",
"nullable": true
},
"url": {
"type": "string",
"nullable": true
},
"categories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"productQuality": {
"type": "string",
"nullable": true
},
"context": {
"type": "string",
"nullable": true
},
"keywords": {
"type": "string",
"nullable": true
},
"sourceRelationship": {
"enum": [
"Indirect",
"Direct"
],
"type": "string"
},
"language": {
"type": "string",
"nullable": true
},
"data": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"extensions": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"nullable": true
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}