{"abstract":[{"text":"Descriptive information about the weather data.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI"]]},"identifier":{"interfaceLanguage":"data","url":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/Metadata"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"data:weather_api:Metadata","fragments":[{"kind":"text","text":"object "},{"kind":"identifier","text":"Metadata"}],"modules":[{"name":"WeatherKit REST API"}],"navigatorTitle":[{"kind":"identifier","text":"Metadata"}],"platforms":[{"introducedAt":"1.0.0","name":"Weather API"}],"role":"symbol","roleHeading":"Object","symbolKind":"dictionary","title":"Metadata"},"primaryContentSections":[{"declarations":[{"languages":["data"],"platforms":["Unsupported OS: Weather API"],"tokens":[{"kind":"text","text":"object "},{"kind":"identifier","text":"Metadata"}]}],"kind":"declarations"},{"items":[{"attributes":[],"content":[{"inlineContent":[{"text":"The URL of the legal attribution for the data source.","type":"text"}],"type":"paragraph"}],"name":"attributionURL","required":false,"type":[{"kind":"text","text":"string"}],"typeDetails":[{"baseType":"string"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The time when the weather data is no longer valid.","type":"text"}],"type":"paragraph"}],"name":"expireTime","required":true,"type":[{"kind":"text","text":"date-time"}],"typeDetails":[{"baseType":"date-time"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The ISO language code for localizable fields.","type":"text"}],"type":"paragraph"}],"name":"language","required":false,"type":[{"kind":"text","text":"string"}],"typeDetails":[{"baseType":"string"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The latitude of the relevant location.","type":"text"}],"type":"paragraph"}],"name":"latitude","required":true,"type":[{"kind":"text","text":"number"}],"typeDetails":[{"baseType":"number"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The longitude of the relevant location.","type":"text"}],"type":"paragraph"}],"name":"longitude","required":true,"type":[{"kind":"text","text":"number"}],"typeDetails":[{"baseType":"number"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The URL of a logo for the data provider.","type":"text"}],"type":"paragraph"}],"name":"providerLogo","required":false,"type":[{"kind":"text","text":"string"}],"typeDetails":[{"baseType":"string"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The name of the data provider.","type":"text"}],"type":"paragraph"}],"name":"providerName","required":false,"type":[{"kind":"text","text":"string"}],"typeDetails":[{"baseType":"string"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The time the weather data was procured.","type":"text"}],"type":"paragraph"}],"name":"readTime","required":true,"type":[{"kind":"text","text":"date-time"}],"typeDetails":[{"baseType":"date-time"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The time the provider reported the weather data.","type":"text"}],"type":"paragraph"}],"name":"reportedTime","required":false,"type":[{"kind":"text","text":"date-time"}],"typeDetails":[{"baseType":"date-time"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The weather data is temporarily unavailable from the provider.","type":"text"}],"type":"paragraph"}],"name":"temporarilyUnavailable","required":false,"type":[{"kind":"text","text":"boolean"}],"typeDetails":[{"baseType":"boolean"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The system of units that the weather data is reported in. This is set to metric.","type":"text"}],"type":"paragraph"}],"name":"units","required":false,"type":[{"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/UnitsSystem","kind":"typeIdentifier","preciseIdentifier":"data:weather_api:UnitsSystem","text":"UnitsSystem"}]},{"attributes":[],"content":[{"inlineContent":[{"text":"The data format version.","type":"text"}],"type":"paragraph"}],"name":"version","required":true,"type":[{"kind":"text","text":"integer"}],"typeDetails":[{"baseType":"integer"}]}],"kind":"properties","title":"Properties"},{"attributes":[{"kind":"allowedTypes","values":[]}],"kind":"attributes","title":"Attributes"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"seeAlsoSections":[{"anchor":"Obtaining-current-weather-information","generated":true,"identifiers":["doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/CurrentWeather","doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/ProductData"],"title":"Obtaining current weather information"}],"variants":[{"paths":["\/documentation\/weatherkitrestapi\/metadata"],"traits":[{"interfaceLanguage":"data"}]}],"references":{"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"doc://com.apple.weatherkitrestapi/documentation/WeatherKitRESTAPI":{"abstract":[{"text":"Obtain historical, current, and predictive weather for your app or service.","type":"text"}],"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI","kind":"symbol","navigatorTitle":[{"kind":"text","text":"WeatherKit REST API"}],"role":"collection","title":"WeatherKit REST API","type":"topic","url":"\/documentation\/weatherkitrestapi"},"doc://com.apple.weatherkitrestapi/documentation/WeatherKitRESTAPI/CurrentWeather":{"abstract":[{"text":"The current weather conditions for the specified location.","type":"text"}],"fragments":[{"kind":"text","text":"object "},{"kind":"identifier","text":"CurrentWeather"}],"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/CurrentWeather","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CurrentWeather"}],"role":"symbol","title":"CurrentWeather","type":"topic","url":"\/documentation\/weatherkitrestapi\/currentweather"},"doc://com.apple.weatherkitrestapi/documentation/WeatherKitRESTAPI/Metadata":{"abstract":[{"text":"Descriptive information about the weather data.","type":"text"}],"fragments":[{"kind":"text","text":"object "},{"kind":"identifier","text":"Metadata"}],"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/Metadata","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Metadata"}],"role":"symbol","title":"Metadata","type":"topic","url":"\/documentation\/weatherkitrestapi\/metadata"},"doc://com.apple.weatherkitrestapi/documentation/WeatherKitRESTAPI/ProductData":{"abstract":[{"text":"A base type for all weather data.","type":"text"}],"fragments":[{"kind":"text","text":"object "},{"kind":"identifier","text":"ProductData"}],"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/ProductData","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"ProductData"}],"role":"symbol","title":"ProductData","type":"topic","url":"\/documentation\/weatherkitrestapi\/productdata"},"doc://com.apple.weatherkitrestapi/documentation/WeatherKitRESTAPI/UnitsSystem":{"abstract":[{"text":"The system of units that the weather data is reported in.","type":"text"}],"fragments":[{"kind":"text","text":"type "},{"kind":"identifier","text":"UnitsSystem"}],"identifier":"doc:\/\/com.apple.weatherkitrestapi\/documentation\/WeatherKitRESTAPI\/UnitsSystem","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UnitsSystem"}],"role":"symbol","title":"UnitsSystem","type":"topic","url":"\/documentation\/weatherkitrestapi\/unitssystem"}}}