--- openapi: 3.0.0 info: title: Data.gov.sg APIs description: '"APIs for People"' version: 1.0.0 servers: - url: https://api.data.gov.sg/v1 paths: /technology/ipos/patents: get: summary: Get patent applications lodged with IPOS description: | - Updated daily from IPOS - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time tags: - technology parameters: - name: lodgement_date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Patent application information content: application/json: schema: type: object properties: lodgement_date: type: string description: Date of lodgement of application from IPOS format: date count: type: integer enum: 0 applications: type: array items: $ref: '#/components/schemas/IposPatentApplications' default: $ref: '#/components/responses/Error' /technology/ipos/trademarks: get: summary: Get trademark applications lodged with IPOS description: | - Updated daily from IPOS - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time tags: - technology parameters: - name: lodgement_date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Trademark application information content: application/json: schema: type: object properties: lodgement_date: type: string description: Date of lodgement of application from IPOS format: date count: type: integer enum: 0 applications: type: array items: $ref: '#/components/schemas/IposTrademarkApplications' default: $ref: '#/components/responses/Error' /technology/ipos/designs: get: summary: Get design applications lodged with IPOS description: | - Updated daily from IPOS - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time tags: - technology parameters: - name: lodgement_date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Design application information content: application/json: schema: type: object properties: lodgement_date: type: string description: Date of lodgement of application from IPOS format: date count: type: integer enum: 0 applications: type: array items: $ref: '#/components/schemas/IposDesignApplications' default: $ref: '#/components/responses/Error' /transport/taxi-availability: get: summary: Get locations of available taxis in Singapore description: | - Retrieved every 30 seconds from LTA's Datamall. - The response is a valid **GeoJSON** which you could insert into a mapping tool like Leaflet - As LTA does not provide any kind of metadata, the timestamp provided in the response is the scrape time - We recommend that this endpoint be called every minute - Use the `date_time` parameter to retrieve the latest available data at that moment in time tags: - Transport parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string responses: '200': description: Taxi availability information content: application/vnd.geo+json: schema: $ref: '#/components/schemas/TaxiLocations' default: $ref: '#/components/responses/Error' /transport/traffic-images: get: summary: Get the latest images from traffic cameras all around Singapore description: | - Retrieved every 20 seconds from LTA's Datamall - Locations of the cameras are also provided in the response - We recommend that this endpoint be called every minute - Use the `date_time` parameter to retrieve the latest available data at that moment in time. tags: - Transport parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string responses: '200': description: PSI Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' items: type: array items: $ref: '#/components/schemas/TrafficImages' default: $ref: '#/components/responses/Error' /transport/carpark-availability: get: summary: Get the latest carpark availability in Singapore description: | - Retrieved every minute - Use the date_time parameter to retrieve the latest carpark availability at that moment in time - Detailed carpark information can be found at https://data.gov.sg/dataset/hdb-carpark-information - We recommend that this endpoint be called every minute tags: - Transport parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string responses: '200': description: Carpark availability content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' items: type: array items: $ref: '#/components/schemas/CarparkAvailability' default: $ref: '#/components/responses/Error' /environment/psi: get: summary: Retrieve the latest PSI information description: | - Updated hourly from NEA. - Readings are provided for each major region in Singapore - The `region_metadata` field in the response provides longitude/latitude information for the regions. You can use that to place the readings on a map. - Use the `date_time` parameter to retrieve the latest PSI readings at that moment in time. - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: PSI Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' region_metadata: $ref: '#/components/schemas/RegionMetadataForPsiAndPm25' items: type: array description: Array of items items: $ref: '#/components/schemas/PsiInformation' default: $ref: '#/components/responses/Error' /environment/pm25: get: summary: Retrieve the latest PM2.5 information description: | - Updated hourly from NEA. - Readings are provided for each major region in Singapore - The `region_metadata` field in the response provides longitude/latitude information for the regions. You can use that to place the readings on a map. - Use the `date_time` parameter to retrieve the latest PM2.5 readings at that moment in time - Use the `date` parameter to retrieve all of the readings for that day tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: PM 2.5 Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' region_metadata: $ref: '#/components/schemas/RegionMetadataForPsiAndPm25' items: type: array description: Array of items items: $ref: '#/components/schemas/Pm25Information' default: $ref: '#/components/responses/Error' /environment/2-hour-weather-forecast: get: summary: Retrieve the latest two hour weather forecast description: | - Updated half-hourly from NEA - Forecasts are given for multiple areas in Singapore - The `area_metadata` field in the response provides longitude/latitude information for the areas. You can use that to place the forecasts on a map. - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. - Use the `date` parameter to retrieve all of the forecasts issued for that day tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: 2 Hour Weather Forecast content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' area_metadata: $ref: '#/components/schemas/AreaMetadata' items: type: array description: Array of items items: $ref: '#/components/schemas/2HourWeatherForecast' default: $ref: '#/components/responses/Error' /environment/24-hour-weather-forecast: get: summary: Retrieve the latest 24 hour weather forecast description: | - Updated multiple times throughout the day - A general forecast for the 24 hour period is provided - Forecasts for each major region in Singapore is also provided for 6/12 hour periods - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. - Use the `date` parameter to retrieve all of the forecasts issued for that day tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: 24 Hour Weather Forecast content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' area_metadata: $ref: '#/components/schemas/AreaMetadata' items: type: array description: Array of items items: $ref: '#/components/schemas/24HourWeatherForecast' default: $ref: '#/components/responses/Error' /environment/4-day-weather-forecast: get: summary: Retrieve the latest 4 day weather forecast description: | - Updated twice a day from NEA - The forecast is for the next 4 days - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. - Use the `date` parameter to retrieve all of the forecasts issued for that day tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: 4 Day Weather Forecast content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' items: type: array description: Array of items items: $ref: '#/components/schemas/4DayWeatherForecast' default: $ref: '#/components/responses/Error' /environment/uv-index: get: summary: Retrieve the latest UV index information description: | - Updated every hour between 7 AM and 7 PM everyday - The UV index value is averaged over the preceeding hour - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. - Use the `date` parameter to retrieve all of the forecasts issued for that day tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: UV Index content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' items: type: array description: Array of items items: $ref: '#/components/schemas/UvIndexInformation' default: $ref: '#/components/responses/Error' /environment/air-temperature: get: summary: Get air temperature readings across Singapore description: | - Has per-minute readings from NEA - Use the `date_time` parameter to retrieve the latest available data at that moment in time - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Air Temperature Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' metadata: type: object properties: stations: type: array items: $ref: '#/components/schemas/StationMetadata' reading_type: $ref: '#/components/schemas/ReadingTypeMetadata' reading_unit: $ref: '#/components/schemas/ReadingUnitMetadata' items: type: array description: Array of items items: type: object properties: timestamp: type: string format: date-time description: Timestamp of reading readings: type: array items: type: object properties: station_id: type: string value: type: number default: $ref: '#/components/responses/Error' /environment/rainfall: get: summary: Get rainfall readings across Singapore description: | - 5-minute readings from NEA - Use the `date_time` parameter to retrieve the latest available data at that moment in time - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Rainfall Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' metadata: type: object properties: stations: type: array items: $ref: '#/components/schemas/StationMetadata' reading_type: $ref: '#/components/schemas/ReadingTypeMetadata' reading_unit: $ref: '#/components/schemas/ReadingUnitMetadata' items: type: array description: Array of items items: type: object properties: timestamp: type: string format: date-time description: Timestamp of reading readings: type: array items: type: object properties: station_id: type: string value: type: number default: $ref: '#/components/responses/Error' /environment/relative-humidity: get: summary: Get relative humidity readings across Singapore description: | - Has per-minute readings from NEA - Use the `date_time` parameter to retrieve the latest available data at that moment in time - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Relative Humidity Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' metadata: type: object properties: stations: type: array items: $ref: '#/components/schemas/StationMetadata' reading_type: $ref: '#/components/schemas/ReadingTypeMetadata' reading_unit: $ref: '#/components/schemas/ReadingUnitMetadata' items: type: array description: Array of items items: type: object properties: timestamp: type: string format: date-time description: Timestamp of reading readings: type: array items: type: object properties: station_id: type: string value: type: number default: $ref: '#/components/responses/Error' /environment/wind-direction: get: summary: Get wind direction readings across Singapore description: | - Has per-minute readings from NEA - Use the `date_time` parameter to retrieve the latest available data at that moment in time - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Wind Direction Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' metadata: type: object properties: stations: type: array items: $ref: '#/components/schemas/StationMetadata' reading_type: $ref: '#/components/schemas/ReadingTypeMetadata' reading_unit: $ref: '#/components/schemas/ReadingUnitMetadata' items: type: array description: Array of items items: type: object properties: timestamp: type: string format: date-time description: Timestamp of reading readings: type: array items: type: object properties: station_id: type: string value: type: number default: $ref: '#/components/responses/Error' /environment/wind-speed: get: summary: Get wind speed readings across Singapore description: | - Has per-minute readings from NEA - Use the `date_time` parameter to retrieve the latest available data at that moment in time - Use the `date` parameter to retrieve all of the readings for that day. tags: - Environment parameters: - name: date_time in: query description: YYYY-MM-DD[T]HH:mm:ss (SGT) required: false schema: type: string - name: date in: query description: YYYY-MM-DD required: false schema: type: string responses: '200': description: Wind Speed Information content: application/json: schema: type: object properties: api_info: $ref: '#/components/schemas/ApiInfo' metadata: type: object properties: stations: type: array items: $ref: '#/components/schemas/StationMetadata' reading_type: $ref: '#/components/schemas/ReadingTypeMetadata' reading_unit: $ref: '#/components/schemas/ReadingUnitMetadata' items: type: array description: Array of items items: type: object properties: timestamp: type: string format: date-time description: Timestamp of reading readings: type: array items: type: object properties: station_id: type: string value: type: number default: $ref: '#/components/responses/Error' /package_list: get: summary: Return a list of datasets on data.gov.sg description: tags: - CKAN parameters: - name: limit in: query description: If given, the list of datasets will be broken into pages of at most limit datasets per page and only one page will be returned at a time (optional) required: false schema: type: integer - name: offset in: query description: When limit is given, the offset to start returning packages from required: false schema: type: integer responses: '200': description: Dataset listing content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanPackageList' - example: help: https://data.gov.sg/api/3/action/help_show?name=package_list success: true results: - gdp - population - water-consumption default: description: Error information content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanError' - example: help: https://data.gov.sg/api/3/action/help_show?name=package_list success: false error: {} servers: - url: https://data.gov.sg/api/action /package_show: get: summary: Return the metadata of a dataset (package) and its resources description: tags: - CKAN parameters: - name: id in: query description: The id or name of the dataset required: true schema: type: string responses: '200': description: Dataset metadata content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanPackageShow' - properties: help: example: https://data.gov.sg/api/3/action/help_show?name=package_show success: example: true default: description: Error information content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanError' - example: help: https://data.gov.sg/api/3/action/help_show?name=package_show success: false error: {} servers: - url: https://data.gov.sg/api/action /resource_show: get: summary: Return the metadata of a resource description: tags: - CKAN parameters: - name: id in: query description: The id of the resource required: true schema: type: string responses: '200': description: Resource metadata content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanResourceShow' - properties: help: example: https://data.gov.sg/api/3/action/help_show?name=resource_show success: example: true default: description: Error information content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanError' - example: help: https://data.gov.sg/api/3/action/help_show?name=resource_show success: false error: {} servers: - url: https://data.gov.sg/api/action /datastore_search: get: summary: Search data in a resource description: tags: - CKAN parameters: - name: resource_id in: query description: ID or alias of the resource to be searched against required: true schema: type: string - name: limit in: query description: 'Maximum number of rows to return (optional, default: 100)' required: false schema: type: integer default: 100 - name: offset in: query description: Offset this number of rows (optional) required: false schema: type: integer - name: fields in: query description: 'Fields to return (optional, default: all fields in original order)' required: false schema: type: string - name: filters in: query description: 'Dictionary of matching conditions, e.g {"key1": "a", "key2": "b"}' required: false schema: type: string - name: q in: query description: 'Full text query. If it’s a string, it’ll search on all fields on each row. If it’s a dictionary as {“key1”: “a”, “key2”: “b”}, it’ll search on each specific field (optional)' required: false schema: type: string - name: sort in: query description: 'Comma-separated field names with ordering, eg.: "fieldname1, fieldname2 desc"' required: false schema: type: string - name: records_format in: query description: 'The format for the records return value: ‘objects’ (default) list of {fieldname1: value1, ...} dicts, ‘lists’ list of [value1, value2, ...] lists, ‘csv’ string containing comma-separated values with no header, ‘tsv’ string containing tab-separated values with no header' required: false schema: type: string enum: [objects, lists, csv] default: objects responses: '200': description: Fetched data content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanDatastoreSearch' - example: help: https://data.gov.sg/api/3/action/help_show?name=datastore_search success: true result: resource_id: f9dbfc75-a2dc-42af-9f50-425e4107ae84 fields: - type: numeric id: year - type: text id: level_1 - type: numeric id: value records: - year: 1960 level_1: Total Residents value: 1646400 - year: 1960 level_1: Total Male Residents value: 859600 - year: 1960 level_1: Total Female Residents value: 786800 - year: 1961 level_1: Total Residents value: 1646400 - year: 1961 level_1: Total Male Residents value: 859600 limit: 5 total: 870 _links: start: /api/action/datastore_search?limit=5&resource_id=f9dbfc75-a2dc-42af-9f50-425e4107ae84 next: /api/action/datastore_search?offset=5&limit=5&resource_id=f9dbfc75-a2dc-42af-9f50-425e4107ae84 default: description: Error information content: application/json: schema: allOf: - $ref: '#/components/schemas/CkanError' - example: help: https://data.gov.sg/api/3/action/help_show?name=datastore_search success: false error: {} servers: - url: https://data.gov.sg/api/action components: schemas: IposTrademarkApplications: type: object properties: summary: type: object properties: applicationNum: description: >- System number that auto generated which is unique to represent a TM application number type: string filingDate: description: Date that national application is filed/ Given by WIPO for IR case type: string format: date internationalRegDate: description: Date of International Registration given by WIPO type: string format: date singaporeProtectionDate: description: Given by WIPO for IR case type: string format: date journals: type: array items: type: object properties: journalNum: description: Auto generated type: string journalDate: description: Date that journal is published type: string format: date journalStatus: type: object properties: code: type: string description: type: string seriesMarkNum: description: Series Marks - By default = 0 type: integer disclaimerLimitation: description: Limitation of goods/services type: string applicationType: description: Application Type type: string tradeMarkType: description: Trade Mark Type type: string descriptionPaticularFeatureOfMark: description: Applicable for non-conventional mark type: string markStatus: description: Mark Status type: string markStatusDate: description: Date that the status should be updated type: string format: date statusUpdateDate: description: Date that the status is updated type: string format: date registrationProcedureCompletionDate: description: Date that the application is registered type: string format: date expiryDate: description: Date that the application is expired type: string format: date publicationDate: description: Date that the application is published type: string format: date internationalRegistrationDesignatingSingaporeDetails: type: object properties: irNum: description: IR Number given by WIPO type: string irDate: description: Given by WIPO type: string format: date irNotificationDate: description: Date that the IR was notified to Singapore type: string format: date subsequentDesignationNum: description: Auto generated number for each subsequent designation type: integer subsequentDesignationDate: description: Date of Subsequent Designation (given by WIPO) type: string format: date subesequentDesignationNotificationDate: description: Date that the IR was notified to Singapore type: string format: date internationalApplicationDetails: type: object properties: IANum: description: >- System number that auto generated which is unique to represent an IA number type: string IRNum: description: IR Number given by WIPO type: string goodsAndServicesSpecifications: description: Specification of Goods/Services type: object properties: goodsServices: description: Goods/Services type: string classNum: description: 01-45 type: string classStatus: description: Class Status type: object properties: code: type: string description: type: string priorityClaimsDetails: type: object description: Priority Claims Details properties: goodsAndServices: description: Good and Services type: string classNum: description: Class No type: string priorityClaimsDate: description: Date when the priority is claimed. type: string format: date country: type: string transformationApplicationMadridFrom: description: Transformation Application under Madrid Protocol type: array items: type: object properties: applicationNum: description: Application Number type: string irNum: description: IR Number given by WIPO type: string transformationApplicationMadridInto: description: Transformation Application under Madrid Protocol type: array items: type: object properties: applicationNum: description: Application Number type: string classNum: description: 01-45 type: string dateOfProtection: description: Given by WIPO for IR case type: string format: date replacementApplicationMadridBy: description: Replacement Application under Madrid Protocol type: array items: type: object properties: applicationNum: description: Application Number type: string irNum: description: IR Number given by WIPO type: string classNum: description: 01-45 type: string replacementApplicationMadridReplaces: description: Replacement Application under Madrid Protocol type: array items: type: object properties: applicationNum: description: Application Number type: string dateOfProtection: description: Given by WIPO for IR case type: string format: date classNum: description: 01-45 type: string goodsServices: description: Affected goods and/or services type: string expiryDate: description: Date that the application is expired type: string publicationDate: description: Date that the application is published type: string format: date priorityClaimsDetails: type: array description: Priority Claims Details items: type: object properties: goodsAndServices: description: Good and Services type: string classNum: description: Class No. type: string priorityClaimsDate: description: Priority Claims Date type: string format: date country: description: Country type: string markClauses: description: Mark Clauses entered by Examiners type: array items: type: object properties: value: type: string markIndex: description: Mark Index type: object properties: wordsInMark: description: Words in Mark entered by Mark Index Officer type: string descrOfDevice: description: Device description entered by Mark Index Officer type: string enTransliteration: description: English Translation entered by Mark Index Officer. type: string enTranslation: description: English Translation entered by Mark Index Officer type: string currentApplicantProprietorDetails: description: Current Applicant/Proprietor Details type: array items: type: object properties: applicantType: description: Type of applicant type: object properties: code: type: string description: type: string uenCompanyCode: description: UEN/Company Code generated by system/assigned by officer type: string name: description: Name of applicant type: string address: description: Address of applicant type: string countryOfIncorporationOrResidence: description: Country of Incorporation/Residence type: object properties: code: type: string description: type: string stateOfIncorporation: description: State of Incorporation type: object properties: code: type: string description: type: string nationality: description: Nationality type: object properties: code: type: string description: type: string soleproprietorPartnerName: type: string description: Sole Proprietor or Partner's Name agentCorrespondenceDetails: description: Agent/Correspondence Details type: array items: type: object properties: representationType: description: indicator to represent if represent as an agent type: string actionRepresenting: description: Agent represent for which action type: string representativeName: description: Representative or C/O Name type: string addressForServiceInSingapore: description: Agent address type: string agent: type: object properties: uenCompanyCode: description: Agent UEN/ Company Code type: string name: description: Agent Name type: string HMGcases: type: array items: type: object properties: caseNum: description: >- HMG case number that are auto generated which is unique to represent a HMG case type: string caseType: type: object description: Case Type properties: code: type: string description: type: string caseStatus: description: >- Opposition Status (Case Status) - Current Status of the case. E.g. Pending Successfully, pending appeal period. type: object properties: code: type: string description: type: string classNum: description: Class number being opposed type: string lodgeDate: type: string format: date logogramArticle6TerDetails: description: Logogram/ Article 6 Ter Details type: array items: type: object properties: applicationNum: description: Application Number - System generated type: string applicationStatus: description: Application Status type: string lodgementDate: description: Date that logogram is sent to IPOS type: string format: date name: type: string description: Organization Name address: description: Organization Address type: string license: type: array items: type: object properties: isLicensor: description: Licensor if value is true type: boolean isLicenseAgainstAllGoodsServices: description: License to be recorded against all goods and/or services type: boolean particularsOfLicensorLicensee: description: Particulars of Licensor/Licensee type: object properties: licensorLicenseeName: type: string licensorLicenseeCode: type: string address: type: string representationType: type: object properties: code: type: string description: type: string incorporationCountry: type: object properties: code: type: string description: type: string residenceCountry: type: object properties: code: type: string description: type: string detailsOfLicense: type: string licenseType: description: License Type (Exclusive or Non-Exclusive License) type: string licenseStartDate: description: Licence Start Date type: string format: date licenseEndDate: description: License End Date type: string format: date licenseDetails: description: 'Details of license to be registered, amended or terminated' type: string licenseRefNum: description: Security interest ref. number type: string securityInterest: type: object properties: securityInterestRefNum: description: Security interest ref. no type: string lodgementDate: description: Lodgement Date type: string format: date grantorParticulars: type: array description: Particulars of Grantor items: type: object properties: grantorName: type: string description: Name of Grantor grantorAddress: type: string description: Address of Grantor granteeParticulars: type: array description: Particulars of Grantee items: type: object properties: granteeName: type: string description: Name of Grantee granteeAddress: type: string description: Address of Grantee securityInterestDetails: description: >- Details of Security Interest to be Registered, Amended or Terminated type: string transferOfOwnership: type: array description: Transfer of Ownership items: type: object properties: currentApplicantProprietorDetails: description: Details of Current Applicant/ Proprietor type: object properties: code: type: string name: type: string address: type: string countryOfIncorporation: type: string subsequentApplicantProprietorDetails: description: Details of Subsequent Applicant/ Proprietor type: object properties: code: type: string name: type: string address: type: string countryOfIncorporation: type: string dateOfTransferOfOwnership: description: Date of Transfer of Ownership type: string format: date detailsOfTransferOfOwnershipToBeRegistered: description: Details of Transfer of Ownership to be Registered type: string fullOrPartial: description: Full/Partial transfer of ownership type: string documents: type: array items: type: object properties: lodgementDate: type: string format: date fileUrl: type: string docType: type: object properties: code: type: string description: type: string IposPatentApplications: type: object properties: summary: type: object properties: applicationNum: description: >- System number that auto generated which is unique to represent a patent application number type: string applicationStatus: description: IP status for a patent. The code desciption is store in code table type: string applicationType: description: Type of the application filed in singapore type: string filingDate: description: FilingDate type: string format: date lodgementDate: description: Lodgement Date of the Request type: string format: date titleOfInvention: description: Title of Invention type: string ipc: type: string description: IPC Symbol dateofPublication: description: Date of the Application Section 27 Publication date. type: string format: date publicationPatentNumForOldApplication: description: >- Publication Patent Num for old application Legacy Data Number ( assigned after grant ) type: string inventors: type: array items: type: object properties: name: description: Name of Inventor type: string address: description: >- Inventor address, address details is stored in CM.Address table, link with CM.Address.Id type: string countryOfResidence: type: object properties: code: description: Country code type: string description: description: Country description type: string nationality: description: Nationality type: string applicant: type: array items: type: object properties: uenCompanyCode: description: Code generated by system/assign by officer type: string name: description: Name of applicant type: string address: description: Applicant address type: string countryOfIncorporationOrResidence: type: object properties: code: description: Country code type: string description: description: Country description type: string stateOfIncorporation: type: object properties: code: description: State code type: string description: description: State description type: string nationality: type: object properties: code: description: Country code type: string description: description: Country description type: string soleProprietorPartnerName: description: Name of Partner type: string agentCorrespondenceDetails: type: array items: type: object properties: representationType: description: indicator to represent if represent as an agent type: string agent: type: object properties: uenCompanyCode: description: UEN/Agent code type: string name: description: Agent name type: string actionRepresenting: description: Agent represent for which action type: string representativeName: description: Representative/care off name type: string addressForServiceInSingapore: description: Agent address type: string declarationOfPriority: type: array items: type: object properties: applicationNum: description: Application numberPriorityApplnNum type: string country: type: object properties: code: description: Country code type: string description: description: Country description type: string filingDate: description: PriorityFilingDate type: string format: date grantAndRenewal: type: object properties: grantDate: description: Grant Date type: string format: date nextRenewalDate: description: Next Renewal Due date type: string format: date dateOfRenewal: description: PF15/PF53 type: string format: date dateOfLastRenewal: description: Renewal Record date type: string format: date yearOfLastRenewal: description: Renewal Record year type: string expiryDate: description: Expiry date type: string format: date divisionalParentofUKEUPatentNum: description: >- This is applicable to pre 1996 applications. This is identical to XUK No. from Staff portal IP Master type: string dateOfGrantOfUKEUPatentNum: description: >- This is applicable to pre 1996 applications. This is identical to XUK No. from Staff portal IP Master type: string format: date dateOfIssueOfCertificateOfRegistrationInSingapore: description: >- This is applicable to pre 1996 applications. This is identical to “Grant Date” from Staff portal IP Master type: string format: date divisionalApplications: type: array items: type: object properties: divisionalApplicationNum: description: Application number for divisional application type: string divisionalApplicationLodgementDate: description: Application Lodgement Date type: string format: date parentApplicationNum: description: Applicable for Divisional Application type: string parentFilingDateForDivisional: description: Applicable for Divisional Application type: string format: date PCTApplication: type: array items: type: object properties: PCTApplicationNum: description: PCT Application Num. type: string PCTPublicationNum: description: Publication date of PCTPublication number of WIPO application type: string PCTPublicationDate: description: Publication Date that WIPO published the application type: string format: date PCTEntryDate: description: PF37 Lodgement Date type: string format: date dateOfPublicationOfEntryIntoNationalPhase: description: Journal Date of Bibliographic Publication type: string format: date PCTPriorityClaimed: type: array items: type: object properties: applicationNum: description: Application number type: string country: type: object properties: code: description: Country code type: string description: description: Country description type: string filingDate: description: Filing date type: string format: date hmgStatus: type: array items: type: object properties: caseNum: type: string lodgeDate: type: string format: date caseStatus: type: object properties: code: type: string description: type: string caseType: type: object properties: code: description: code type: string description: description: description type: string otherEntries: type: array items: type: object properties: events: type: object properties: code: description: Event code type: string description: description: Event description type: string eventDate: description: Event date type: string format: date license: type: array items: type: object properties: isLicensor: type: boolean particularsOfLicensorLicensee: type: object properties: licensorlicenseeName: type: string licensorlicenseeCode: type: string address: type: string licenseType: type: string description: Licensee types licenseStartDate: type: string description: License start date format: date licenseEndDate: type: string description: License end date format: date detailsOfLicenceToBeRegisteredAmendedOrTerminated: type: string description: 'Details of license to be registered, amended or terminated' licenseReferenceNum: type: string description: License Reference Number securityInterest: type: array items: type: object properties: securityInterestRefNum: type: string lodgementDate: type: string format: date grantorParticulars: type: array items: type: object properties: grantorName: type: string grantorAddress: type: string securityInterestDetails: type: string description: >- Details of Security Interest to be Registered, Amended or Terminated transferOfOwnership: type: array items: type: object properties: currentApplicantProprietorDetails: type: object properties: code: type: string name: type: string address: type: string countryOfIncorporation: type: string subsequentApplicantProprietorDetails: type: object properties: code: type: string name: type: string address: type: string countryOfIncorporation: type: string dateOfTranferOfOwnership: description: Date of Transfer of Ownership type: string format: date rupka: type: array items: type: object properties: xPatentNum: description: Applicable for migrated data only type: string xukNum: description: Applicable for migrated data only type: string xukrantDate: description: Applicable for migrated data only type: string format: date xGazetteNum: description: Applicable for migrated data only type: string xGazetteDate: description: Applicable for migrated data only type: string format: date xIsSection261c: description: Applicable for migrated data only type: boolean documents: type: array items: type: object properties: lodgementDate: description: Date of lodgement type: string format: date fileId: description: ID of file type: string fileName: description: Name of file type: string fileUrl: description: Url of file type: string docType: type: object properties: code: description: Document type code type: string description: description: Document type description type: string IposDesignApplications: type: object properties: summary: type: object properties: applicationNum: description: >- System number that auto generated which is unique to represent a DS application number type: string filingDate: description: Date that national application is filed/ Given by WIPO for IR case type: string format: date classSubClass: description: Classification Code & Classification sub code type: string status: description: IP status for a design type: string approvedDate: description: Approved Date type: string ukDesignNum: description: Unique number to represent a UK design application number type: string ukRegistrationDate: description: Registration date of a UK design number type: string format: date internationalRegistrationNum: description: International Registration number type: string internationalRegistrationDate: description: Filing date for the international registration application. type: string format: date renewalDueDate: description: >- When renewal had been filed, this field will be updated to the renewal date. Let say for for the first renewal, it is the date after 5 years of filing date. type: string format: date expiryDate: description: >- 25 years after filing date. The particular design will be expired after this date. It consider a non-live design. type: string format: date lodgementDate: description: >- Date that form get lodge regardless if fall in holiday or excluded date. type: string format: date applicants: type: array items: type: object properties: uenCompanyCode: description: UEN/Company Code generated by system/assigned by officer type: string name: description: Name of applicant type: string address: description: Address of applicant type: string countryOfIncorporationOrResidence: description: Country of Incorporation/Residence type: object properties: code: type: string description: type: string stateOfIncorporation: description: State of Incorporation type: object properties: code: type: string description: type: string nationality: description: Nationality type: object properties: code: type: string description: type: string soleproprietorPartnerName: type: string description: Sole Proprietor or Partner's Name articles: type: array items: type: object properties: numOfArticlesInSet: description: Number of articles in the set type: integer articleName: description: Article Name type: string TaxiLocations: type: object description: A GeoJSON representing the locations of available taxis in Singapore properties: type: type: string description: Determines the type of the GeoJSON object crs: type: object description: The coordinate reference system used features: type: array items: type: object properties: geometry: type: object properties: type: type: string enum: ['MultiPoint'] coordinates: type: array items: type: array description: A position (longitude, latitude) minItems: 2 maxItems: 2 items: type: number properties: type: object description: Additional meta-data from Data.gov.sg properties: timestamp: type: string description: Time of acquisition of data from LTA's Datamall format: date-time taxi_count: type: integer description: Total number of available taxis ApiInfo: type: object description: Contains information about the API (from Data.gov.sg) properties: status: type: string enum: - healthy TrafficImages: type: object required: - timestamp - cameras properties: timestamp: type: string description: Time of acquisition of data from LTA's Datamall format: date-time cameras: type: array items: type: object description: Camera information and images required: - timestamp - camera_id - image_id - image - image_metadata properties: timestamp: type: string description: Time of image format: date-time camera_id: type: number description: Camera ID provided by LTA image_id: type: number description: Image ID provided by LTA image: type: string description: URL of image image_metadata: type: object description: Metadata of the image file required: - height - width - md5 properties: height: type: number description: Height of the image (pixels) width: type: number description: Width of the image (pixels) md5: type: string description: MD5 hash of image file CarparkAvailability: type: object required: - timestamp - carpark_data properties: timestamp: type: string description: Time of acquisition of data format: date-time carpark_data: type: array items: type: object description: Carpark availability information per carpark required: - total_lots - lot_type - lots_available properties: total_lots: type: string description: Total number of carpark lots at lot_type: type: string description: Type of carpark lot lots_available: type: string description: Total number of available carpark lotss Pm25Information: type: object properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string description: Data timestamp format: date-time readings: type: object description: Regional hourly PM2.5 concentration properties: pm25_one_hourly: $ref: '#/components/schemas/ConcentrationReadingByRegion' PsiInformation: type: object properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string description: Data timestamp format: date-time readings: type: object description: Overall and regional PSI data including pollutant concentrations and sub-indices properties: psi_twenty_four_hourly: $ref: '#/components/schemas/ReadingByRegion' psi_three_hourly: $ref: '#/components/schemas/ReadingByRegion' pm10_sub_index: $ref: '#/components/schemas/ReadingByRegion' pm25_sub_index: $ref: '#/components/schemas/ReadingByRegion' so2_sub_index: $ref: '#/components/schemas/ReadingByRegion' o3_sub_index: $ref: '#/components/schemas/ReadingByRegion' co_sub_index: $ref: '#/components/schemas/ReadingByRegion' pm10_twenty_four_hourly: $ref: '#/components/schemas/ConcentrationReadingByRegion' pm25_twenty_four_hourly: $ref: '#/components/schemas/ConcentrationReadingByRegion' no2_one_hour_max: $ref: '#/components/schemas/ConcentrationReadingByRegion' so2_twenty_four_hourly: $ref: '#/components/schemas/ConcentrationReadingByRegion' co_eight_hour_max: $ref: '#/components/schemas/ConcentrationReadingByRegion' o3_eight_hour_max: $ref: '#/components/schemas/ConcentrationReadingByRegion' ReadingByRegion: type: object properties: national: type: number description: Reading for national reporting stations north: type: number description: Reading for north region south: type: number description: Reading for south region east: type: number description: Reading for east region west: type: number description: Reading for west region central: type: number description: Reading for central region ConcentrationReadingByRegion: type: object description: Concentration is measured in micrograms per cubic metre properties: national: type: number description: Reading for national reporting stations north: type: number description: Reading for north region south: type: number description: Reading for south region east: type: number description: Reading for east region west: type: number description: Reading for west region central: type: number description: Reading for central region RegionMetadataForPsiAndPm25: type: array description: Additional information on regions provided items: type: object required: - name - label_location properties: name: type: string description: Name of the region label_location: type: object description: Provides longitude and latitude for placing readings on a map required: - longitude - latitude properties: longitude: type: number latitude: type: number AreaMetadata: type: array description: Additional information on areas provided items: type: object required: - name - label_location properties: name: type: string description: Name of the area label_location: type: object description: Provides longitude and latitude for placing readings on a map required: - longitude - latitude properties: longitude: type: number latitude: type: number 2HourWeatherForecast: type: object properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string description: Time forecast was issued by NEA format: date-time valid_period: $ref: '#/components/schemas/ForecastValidPeriod' forecasts: type: array description: Forecasts for various areas in Singapore items: type: object required: - area - forecast properties: area: type: string forecast: type: string 24HourWeatherForecast: type: object required: - update_timestamp - timestamp - valid_period - general - periods properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string description: Time forecast was issued by NEA format: date-time valid_period: type: object description: Period of time the forecast is valid for required: - start - end properties: start: type: string format: date-time end: type: string format: date-time general: type: object description: A general weather forecast for the 24 hour period required: - forecast - relative_humidity - temperature - wind properties: forecast: type: string relative_humidity: type: object description: Unit of measure - Percentage required: - low - high properties: low: type: number high: type: number temperature: type: object description: Unit of measure - Degrees Celsius required: - low - high properties: low: type: number high: type: number wind: type: object required: - speed - direction properties: speed: type: object description: Unit of measure - Kilometeres per hour required: - low - high properties: low: type: number high: type: number direction: type: string periods: type: array description: Regional forecasts for 6/12 hour periods items: type: object required: - time - regions properties: time: $ref: '#/components/schemas/ForecastValidPeriod' regions: type: object required: - north - south - east - west - central properties: north: type: string description: Forecast for the north region of Singapore south: type: string description: Forecast for the south region of Singapore east: type: string description: Forecast for the east region of Singapore west: type: string description: Forecast for the west region of Singapore central: type: string description: Forecast for the central region of Singapore ForecastValidPeriod: type: object description: Period of time the forecast is valid for required: - start - end properties: start: type: string format: date-time end: type: string format: date-time 4DayWeatherForecast: type: object required: - update_timestamp - timestamp - forecasts properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string description: Time forecast was issued by NEA format: date-time forecasts: type: array description: Chronologically ordered forecasts for the next 4 days items: type: object required: - date - timestamp - forecast - temperature - relative_humidity - wind properties: date: type: string description: Forecast Date timestamp: type: string format: date-time description: Timestamp which indicates the start of the day forecast: type: string description: Forecast summary for the day relative_humidity: type: object description: Unit of measure - Percentage required: - low - high properties: low: type: number high: type: number temperature: type: object description: Unit of measure - Degrees Celsius required: - low - high properties: low: type: number high: type: number wind: type: object required: - speed - direction properties: speed: type: object description: Unit of measure - Kilometeres per hour required: - low - high properties: low: type: number high: type: number direction: type: string UvIndexInformation: type: object required: - update_timestamp - timestamp - index properties: update_timestamp: type: string description: Time of acquisition of data from NEA format: date-time timestamp: type: string format: date-time index: type: array description: Reverse-chronologically ordered indexes items: type: object required: - timestamp - value properties: timestamp: type: string description: Timestamp indicating the start of the hour for which the index is for format: date-time value: type: number description: UV index for the hour StationMetadata: type: object properties: id: description: Stations's ID type: string device_id: description: Reading Device's ID (usually same as Station's ID) type: string name: description: Stations's name type: string location: description: Location information for the station type: object required: - longitude - latitude properties: longitude: type: number latitude: type: number ReadingTypeMetadata: type: string description: Information about the reading ReadingUnitMetadata: type: string description: Measurement unit for reading Error: type: object required: - code - message properties: code: type: integer format: int32 message: type: string CkanBase: type: object required: - help - success properties: help: type: string description: URL that returns a help string for the API action success: type: boolean description: Whether fetch is succesfully CkanError: allOf: - $ref: '#/components/schemas/CkanBase' - type: object required: - error properties: error: type: object description: Error type and description CkanPackageList: allOf: - $ref: '#/components/schemas/CkanBase' - type: object required: - result properties: result: type: array description: List of dataset names items: type: string description: Package name CkanPackageShow: allOf: - $ref: '#/components/schemas/CkanBase' - type: object required: - result properties: result: $ref: '#/components/schemas/CkanPackage' CkanResourceShow: allOf: - $ref: '#/components/schemas/CkanBase' - type: object required: - result properties: result: $ref: '#/components/schemas/CkanResource' CkanDatastoreSearch: allOf: - $ref: '#/components/schemas/CkanBase' - type: object required: - result properties: result: type: object description: Resource required: - resource_id - fields - records properties: resource_id: type: string description: Resource id fields: type: array description: Data fields items: type: object description: Data field records: type: array description: Data rows items: type: object description: Data row in object format limit: type: integer description: Limit for number of rows returned total: type: integer description: Total number of rows _links: type: object description: Pagination-related links properties: start: type: string description: Link back to first page next: type: string description: Link to next page CkanPackage: type: object description: Package object properties: id: type: string description: Dataset id example: d1778088-f56a-4353-891f-21f803b2dad5 name: type: string description: Dataset name example: resident-population-by-ethnicity-gender-and-age-group title: type: string description: Displayed dataset name example: Singapore Residents By Age Group, Ethnic Group And Gender, End June, Annual description: type: string description: Dataset description example: Data for 1970 and from 1980 onwards refer to Singapore residents (citizens and permanent residents). topics: type: array description: Related topics items: type: string example: - society frequency: type: string description: Update frequency example: annual url: type: string description: Reference url example: http://www.tablebuilder.singstat.gov.sg/publicfacing/createDataTable.action?refId=315&exportType=csv notes: type: string description: Additional notes example: '' license_title: type: string description: License of use example: License not specified num_resources: type: integer description: Number of resources in dataset example: 2 resources: type: array description: List of resources items: $ref: '#/components/schemas/CkanResource' groups: type: array description: Dataset categories items: $ref: '#/components/schemas/CkanGroup' organizations: type: array description: Related organizations items: '#/components/schemas/CkanOrganization' tags: type: array description: Tags items: '#/components/schemas/CkanTag' CkanResource: type: object description: Resource object properties: package_id: type: string description: Dataset id example: d1778088-f56a-4353-891f-21f803b2dad5 id: type: string description: Resource id example: f9dbfc75-a2dc-42af-9f50-425e4107ae84 name: type: string description: Resource name example: Singapore Residents by Ethnic Group and Sex, End June, Annual format: type: string description: Resource format enum: [CSV, PDF, KML, SHP, API] example: CSV url: type: string description: Source url example: https://storage.data.gov.sg/resident-population-by-ethnicity-gender-and-age-group/resources/singapore-residents-by-ethnic-group-and-sex-end-june-annual-2017-11-16T23-03-38Z.csv coverage_start: type: string description: Coverage start date example: '1960-01-01' coverage_end: type: string description: Coverage end date example: '2017-12-31' created: type: string description: Date created example: '2015-10-28T13:16:34.917976' last_modified: type: string description: Date last modified example: '2017-11-16T23:03:38.718472' fields: type: array description: Data fields items: $ref: '#/components/schemas/CkanField' example: - name: year title: Year type: datetime sub_type: year format: YYYY - name: value title: Number type: numeric sub_type: general format: '' CkanField: type: object description: Data field properties: name: type: string description: Field name title: type: string description: Displayed field name type: type: string description: Field type sub_type: type: string description: Field sub type format: type: string description: Date format coordinate_system: type: string description: Coordinate system CkanOrganization: type: object description: CKAN Organisation object properties: description: type: string description: Description of organisation created: type: string description: Date created example: '2015-10-28T13:16:34.917976' title: type: string description: Organisation display name example: "Accounting and Corporate Regulatory Authority" name: type: string description: Organisation CKAN alias example: "accounting-and-corporate-regulatory-authority" is_organization: type: boolean description: '' state: type: string description: State of organisation in CKAN example: "active" image_url: type: string description: URL to image of organisation logo revision_id: type: string description: version id type: type: string description: Type of organisation id: type: string description: Organisation CKAN ID approval_status: type: string description: Approval status for organisation CkanGroup: type: object description: CKAN Group object properties: display_name: type: string description: Group Name description: type: string description: Description of group image_display_url: type: string description: URL to image of group's display image title: type: string description: Group display name id: type: string description: Group CKAN ID name: type: string description: Group CKAN alias CkanTag: type: object description: CKAN Tag object properties: vocabulary_id: type: string description: Tag ID state: type: string description: State of tag in CKAN display_name: type: string description: Tag Name id: type: string description: Tag CKAN ID name: type: string description: Tag CKAN alias responses: Error: description: Error information content: application/json: schema: $ref: '#/components/schemas/Error'