├── README.md ├── docs ├── CONTRIBUTING.md └── issue_template.md └── documentation ├── datagovsg-apis.md └── swagger.yml /README.md: -------------------------------------------------------------------------------- 1 | # Data.gov.sg Datasets 2 | This repository is to help track dataset requests, issues and suggestions. 3 | -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Data.gov.sg 2 | 3 | :+1::tada: First off, thanks for taking the time to contribute! :tada::+1: 4 | 5 | The following is a set of guidelines for contributing to Data.gov.sg, which are hosted in the [Data.gov.sg Organization](https://github.com/datagovsg) on GitHub. 6 | 7 | ## Submitting dataset requests 8 | Before submitting a request for a new dataset, please check against the [List of already available datasets](https://data.gov.sg/dataset/dataset-listing) to make sure that the dataset hasn't already been provided. 9 | 10 | Follow the template provided. The key is in the details, and more information can help us communicate your requests clearer to the agencies working with us. 11 | -------------------------------------------------------------------------------- /docs/issue_template.md: -------------------------------------------------------------------------------- 1 | ### Please provide the name of the dataset or describe the dataset that you're requesting: 2 | 3 | 4 | ### Do you know which agency provides/can provide this data? 5 | *( Refer to this link for a full list of agencies: https://data.gov.sg/organization )* 6 | 7 | 8 | ### If there's an issue with a dataset, please provide a description of the problem 9 | 10 | 11 | ### Please provide the fields expected in this dataset: 12 | *(e.g. month | country | passengers)* 13 | 14 | month | country | passengers 15 | ------|---------|------------- 16 | 2017-09|Singapore|10000 17 | 18 | 19 | 20 | ### How frequently would you need this dataset to be updated? 21 | Example: 22 | - [X] *Test* 23 | 24 | - [ ] Annually 25 | - [ ] Monthly 26 | - [ ] Weekly 27 | - [ ] Daily 28 | - [ ] Hourly 29 | - [ ] Real-time 30 | 31 | ### Can you give a short explanation on how you're planning to use this dataset? 32 | -------------------------------------------------------------------------------- /documentation/datagovsg-apis.md: -------------------------------------------------------------------------------- 1 | # data.gov.sg APIs 2 | 3 | ## Introduction 4 | 5 | There are two types of APIs on data.gov.sg. One provides you with access to static tabular data such as time series or listings (aka CKAN APIs), while the other provides you with access to real-time datasets such as weather and traffic conditions. 6 | 7 | For a full list of APIs on data.gov.sg, visit this [link](https://data.gov.sg/search?res_format=API). 8 | 9 | If you are using the APIs, please review the [Terms of Service](https://data.gov.sg/privacy-and-website-terms), and the [Singapore Open Data Licence](https://data.gov.sg/open-data-licence). 10 | 11 | ## Stay updated 12 | 13 | Click [here](https://data.gov.sg/developer) to sign up for our mailing list. 14 | 15 | ## Getting started 16 | 17 | Below are some sample scripts for accessing our APIs. Choose the programming language of your choice, and follow the instructions to make a sample request! 18 | 19 | ### Python 2/3 20 | 21 | ***Requirements:*** 22 | This example requires you to have python installed on your computer. If you are unsure if you have python installed, follow the instructions on this [link](https://wiki.python.org/moin/BeginnersGuide/Download). 23 | 24 | #### Step 1. 25 | Open up the command line. _(In Windows this is your command prompt, on MacOS this is the terminal application)_ 26 | 27 | #### Step 2. 28 | Enter the python interpreter. Depending on which OS you're running, it should look something like this. 29 | 30 | # On Windows: 31 | ```C:\Users\myusername> python``` 32 | 33 | # On Mac: 34 | ```mycomputer:~ myusername$ python``` 35 | 36 | # On Linux: 37 | ```myusername@mycomputer:~$ python``` 38 | 39 | -------------------------------------------------------------------------------- /documentation/swagger.yml: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: 3.0.0 3 | info: 4 | title: Data.gov.sg APIs 5 | description: '"APIs for People"' 6 | version: 1.0.0 7 | servers: 8 | - url: https://api.data.gov.sg/v1 9 | paths: 10 | /technology/ipos/patents: 11 | get: 12 | summary: Get patent applications lodged with IPOS 13 | description: | 14 | - Updated daily from IPOS 15 | - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time 16 | tags: 17 | - technology 18 | parameters: 19 | - name: lodgement_date 20 | in: query 21 | description: YYYY-MM-DD 22 | required: false 23 | schema: 24 | type: string 25 | responses: 26 | '200': 27 | description: Patent application information 28 | content: 29 | application/json: 30 | schema: 31 | type: object 32 | properties: 33 | lodgement_date: 34 | type: string 35 | description: Date of lodgement of application from IPOS 36 | format: date 37 | count: 38 | type: integer 39 | enum: 0 40 | applications: 41 | type: array 42 | items: 43 | $ref: '#/components/schemas/IposPatentApplications' 44 | default: 45 | $ref: '#/components/responses/Error' 46 | /technology/ipos/trademarks: 47 | get: 48 | summary: Get trademark applications lodged with IPOS 49 | description: | 50 | - Updated daily from IPOS 51 | - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time 52 | tags: 53 | - technology 54 | parameters: 55 | - name: lodgement_date 56 | in: query 57 | description: YYYY-MM-DD 58 | required: false 59 | schema: 60 | type: string 61 | responses: 62 | '200': 63 | description: Trademark application information 64 | content: 65 | application/json: 66 | schema: 67 | type: object 68 | properties: 69 | lodgement_date: 70 | type: string 71 | description: Date of lodgement of application from IPOS 72 | format: date 73 | count: 74 | type: integer 75 | enum: 0 76 | applications: 77 | type: array 78 | items: 79 | $ref: '#/components/schemas/IposTrademarkApplications' 80 | default: 81 | $ref: '#/components/responses/Error' 82 | /technology/ipos/designs: 83 | get: 84 | summary: Get design applications lodged with IPOS 85 | description: | 86 | - Updated daily from IPOS 87 | - Use the `lodgement_date` parameter to retrieve applications lodged at that moment in time 88 | tags: 89 | - technology 90 | parameters: 91 | - name: lodgement_date 92 | in: query 93 | description: YYYY-MM-DD 94 | required: false 95 | schema: 96 | type: string 97 | responses: 98 | '200': 99 | description: Design application information 100 | content: 101 | application/json: 102 | schema: 103 | type: object 104 | properties: 105 | lodgement_date: 106 | type: string 107 | description: Date of lodgement of application from IPOS 108 | format: date 109 | count: 110 | type: integer 111 | enum: 0 112 | applications: 113 | type: array 114 | items: 115 | $ref: '#/components/schemas/IposDesignApplications' 116 | default: 117 | $ref: '#/components/responses/Error' 118 | /transport/taxi-availability: 119 | get: 120 | summary: Get locations of available taxis in Singapore 121 | description: | 122 | - Retrieved every 30 seconds from LTA's Datamall. 123 | - The response is a valid **GeoJSON** which you could insert into a mapping tool like Leaflet 124 | - As LTA does not provide any kind of metadata, the timestamp provided in the response is the scrape time 125 | - We recommend that this endpoint be called every minute 126 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 127 | tags: 128 | - Transport 129 | parameters: 130 | - name: date_time 131 | in: query 132 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 133 | required: false 134 | schema: 135 | type: string 136 | responses: 137 | '200': 138 | description: Taxi availability information 139 | content: 140 | application/vnd.geo+json: 141 | schema: 142 | $ref: '#/components/schemas/TaxiLocations' 143 | default: 144 | $ref: '#/components/responses/Error' 145 | /transport/traffic-images: 146 | get: 147 | summary: Get the latest images from traffic cameras all around Singapore 148 | description: | 149 | - Retrieved every 20 seconds from LTA's Datamall 150 | - Locations of the cameras are also provided in the response 151 | - We recommend that this endpoint be called every minute 152 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time. 153 | tags: 154 | - Transport 155 | parameters: 156 | - name: date_time 157 | in: query 158 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 159 | required: false 160 | schema: 161 | type: string 162 | responses: 163 | '200': 164 | description: PSI Information 165 | content: 166 | application/json: 167 | schema: 168 | type: object 169 | properties: 170 | api_info: 171 | $ref: '#/components/schemas/ApiInfo' 172 | items: 173 | type: array 174 | items: 175 | $ref: '#/components/schemas/TrafficImages' 176 | default: 177 | $ref: '#/components/responses/Error' 178 | /transport/carpark-availability: 179 | get: 180 | summary: Get the latest carpark availability in Singapore 181 | description: | 182 | - Retrieved every minute 183 | - Use the date_time parameter to retrieve the latest carpark availability at that moment in time 184 | - Detailed carpark information can be found at https://data.gov.sg/dataset/hdb-carpark-information 185 | - We recommend that this endpoint be called every minute 186 | tags: 187 | - Transport 188 | parameters: 189 | - name: date_time 190 | in: query 191 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 192 | required: false 193 | schema: 194 | type: string 195 | responses: 196 | '200': 197 | description: Carpark availability 198 | content: 199 | application/json: 200 | schema: 201 | type: object 202 | properties: 203 | api_info: 204 | $ref: '#/components/schemas/ApiInfo' 205 | items: 206 | type: array 207 | items: 208 | $ref: '#/components/schemas/CarparkAvailability' 209 | default: 210 | $ref: '#/components/responses/Error' 211 | /environment/psi: 212 | get: 213 | summary: Retrieve the latest PSI information 214 | description: | 215 | - Updated hourly from NEA. 216 | - Readings are provided for each major region in Singapore 217 | - 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. 218 | - Use the `date_time` parameter to retrieve the latest PSI readings at that moment in time. 219 | - Use the `date` parameter to retrieve all of the readings for that day. 220 | tags: 221 | - Environment 222 | parameters: 223 | - name: date_time 224 | in: query 225 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 226 | required: false 227 | schema: 228 | type: string 229 | - name: date 230 | in: query 231 | description: YYYY-MM-DD 232 | required: false 233 | schema: 234 | type: string 235 | responses: 236 | '200': 237 | description: PSI Information 238 | content: 239 | application/json: 240 | schema: 241 | type: object 242 | properties: 243 | api_info: 244 | $ref: '#/components/schemas/ApiInfo' 245 | region_metadata: 246 | $ref: '#/components/schemas/RegionMetadataForPsiAndPm25' 247 | items: 248 | type: array 249 | description: Array of items 250 | items: 251 | $ref: '#/components/schemas/PsiInformation' 252 | default: 253 | $ref: '#/components/responses/Error' 254 | /environment/pm25: 255 | get: 256 | summary: Retrieve the latest PM2.5 information 257 | description: | 258 | - Updated hourly from NEA. 259 | - Readings are provided for each major region in Singapore 260 | - 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. 261 | - Use the `date_time` parameter to retrieve the latest PM2.5 readings at that moment in time 262 | - Use the `date` parameter to retrieve all of the readings for that day 263 | tags: 264 | - Environment 265 | parameters: 266 | - name: date_time 267 | in: query 268 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 269 | required: false 270 | schema: 271 | type: string 272 | - name: date 273 | in: query 274 | description: YYYY-MM-DD 275 | required: false 276 | schema: 277 | type: string 278 | responses: 279 | '200': 280 | description: PM 2.5 Information 281 | content: 282 | application/json: 283 | schema: 284 | type: object 285 | properties: 286 | api_info: 287 | $ref: '#/components/schemas/ApiInfo' 288 | region_metadata: 289 | $ref: '#/components/schemas/RegionMetadataForPsiAndPm25' 290 | items: 291 | type: array 292 | description: Array of items 293 | items: 294 | $ref: '#/components/schemas/Pm25Information' 295 | default: 296 | $ref: '#/components/responses/Error' 297 | /environment/2-hour-weather-forecast: 298 | get: 299 | summary: Retrieve the latest two hour weather forecast 300 | description: | 301 | - Updated half-hourly from NEA 302 | - Forecasts are given for multiple areas in Singapore 303 | - 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. 304 | - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. 305 | - Use the `date` parameter to retrieve all of the forecasts issued for that day 306 | tags: 307 | - Environment 308 | parameters: 309 | - name: date_time 310 | in: query 311 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 312 | required: false 313 | schema: 314 | type: string 315 | - name: date 316 | in: query 317 | description: YYYY-MM-DD 318 | required: false 319 | schema: 320 | type: string 321 | responses: 322 | '200': 323 | description: 2 Hour Weather Forecast 324 | content: 325 | application/json: 326 | schema: 327 | type: object 328 | properties: 329 | api_info: 330 | $ref: '#/components/schemas/ApiInfo' 331 | area_metadata: 332 | $ref: '#/components/schemas/AreaMetadata' 333 | items: 334 | type: array 335 | description: Array of items 336 | items: 337 | $ref: '#/components/schemas/2HourWeatherForecast' 338 | default: 339 | $ref: '#/components/responses/Error' 340 | /environment/24-hour-weather-forecast: 341 | get: 342 | summary: Retrieve the latest 24 hour weather forecast 343 | description: | 344 | - Updated multiple times throughout the day 345 | - A general forecast for the 24 hour period is provided 346 | - Forecasts for each major region in Singapore is also provided for 6/12 hour periods 347 | - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. 348 | - Use the `date` parameter to retrieve all of the forecasts issued for that day 349 | tags: 350 | - Environment 351 | parameters: 352 | - name: date_time 353 | in: query 354 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 355 | required: false 356 | schema: 357 | type: string 358 | - name: date 359 | in: query 360 | description: YYYY-MM-DD 361 | required: false 362 | schema: 363 | type: string 364 | responses: 365 | '200': 366 | description: 24 Hour Weather Forecast 367 | content: 368 | application/json: 369 | schema: 370 | type: object 371 | properties: 372 | api_info: 373 | $ref: '#/components/schemas/ApiInfo' 374 | area_metadata: 375 | $ref: '#/components/schemas/AreaMetadata' 376 | items: 377 | type: array 378 | description: Array of items 379 | items: 380 | $ref: '#/components/schemas/24HourWeatherForecast' 381 | default: 382 | $ref: '#/components/responses/Error' 383 | /environment/4-day-weather-forecast: 384 | get: 385 | summary: Retrieve the latest 4 day weather forecast 386 | description: | 387 | - Updated twice a day from NEA 388 | - The forecast is for the next 4 days 389 | - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. 390 | - Use the `date` parameter to retrieve all of the forecasts issued for that day 391 | tags: 392 | - Environment 393 | parameters: 394 | - name: date_time 395 | in: query 396 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 397 | required: false 398 | schema: 399 | type: string 400 | - name: date 401 | in: query 402 | description: YYYY-MM-DD 403 | required: false 404 | schema: 405 | type: string 406 | responses: 407 | '200': 408 | description: 4 Day Weather Forecast 409 | content: 410 | application/json: 411 | schema: 412 | type: object 413 | properties: 414 | api_info: 415 | $ref: '#/components/schemas/ApiInfo' 416 | items: 417 | type: array 418 | description: Array of items 419 | items: 420 | $ref: '#/components/schemas/4DayWeatherForecast' 421 | default: 422 | $ref: '#/components/responses/Error' 423 | /environment/uv-index: 424 | get: 425 | summary: Retrieve the latest UV index information 426 | description: | 427 | - Updated every hour between 7 AM and 7 PM everyday 428 | - The UV index value is averaged over the preceeding hour 429 | - Use the `date_time` parameter to retrieve the latest forecast issued at that moment in time. 430 | - Use the `date` parameter to retrieve all of the forecasts issued for that day 431 | tags: 432 | - Environment 433 | parameters: 434 | - name: date_time 435 | in: query 436 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 437 | required: false 438 | schema: 439 | type: string 440 | - name: date 441 | in: query 442 | description: YYYY-MM-DD 443 | required: false 444 | schema: 445 | type: string 446 | responses: 447 | '200': 448 | description: UV Index 449 | content: 450 | application/json: 451 | schema: 452 | type: object 453 | properties: 454 | api_info: 455 | $ref: '#/components/schemas/ApiInfo' 456 | items: 457 | type: array 458 | description: Array of items 459 | items: 460 | $ref: '#/components/schemas/UvIndexInformation' 461 | default: 462 | $ref: '#/components/responses/Error' 463 | /environment/air-temperature: 464 | get: 465 | summary: Get air temperature readings across Singapore 466 | description: | 467 | - Has per-minute readings from NEA 468 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 469 | - Use the `date` parameter to retrieve all of the readings for that day. 470 | tags: 471 | - Environment 472 | parameters: 473 | - name: date_time 474 | in: query 475 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 476 | required: false 477 | schema: 478 | type: string 479 | - name: date 480 | in: query 481 | description: YYYY-MM-DD 482 | required: false 483 | schema: 484 | type: string 485 | responses: 486 | '200': 487 | description: Air Temperature Information 488 | content: 489 | application/json: 490 | schema: 491 | type: object 492 | properties: 493 | api_info: 494 | $ref: '#/components/schemas/ApiInfo' 495 | metadata: 496 | type: object 497 | properties: 498 | stations: 499 | type: array 500 | items: 501 | $ref: '#/components/schemas/StationMetadata' 502 | reading_type: 503 | $ref: '#/components/schemas/ReadingTypeMetadata' 504 | reading_unit: 505 | $ref: '#/components/schemas/ReadingUnitMetadata' 506 | items: 507 | type: array 508 | description: Array of items 509 | items: 510 | type: object 511 | properties: 512 | timestamp: 513 | type: string 514 | format: date-time 515 | description: Timestamp of reading 516 | readings: 517 | type: array 518 | items: 519 | type: object 520 | properties: 521 | station_id: 522 | type: string 523 | value: 524 | type: number 525 | default: 526 | $ref: '#/components/responses/Error' 527 | /environment/rainfall: 528 | get: 529 | summary: Get rainfall readings across Singapore 530 | description: | 531 | - 5-minute readings from NEA 532 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 533 | - Use the `date` parameter to retrieve all of the readings for that day. 534 | tags: 535 | - Environment 536 | parameters: 537 | - name: date_time 538 | in: query 539 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 540 | required: false 541 | schema: 542 | type: string 543 | - name: date 544 | in: query 545 | description: YYYY-MM-DD 546 | required: false 547 | schema: 548 | type: string 549 | responses: 550 | '200': 551 | description: Rainfall Information 552 | content: 553 | application/json: 554 | schema: 555 | type: object 556 | properties: 557 | api_info: 558 | $ref: '#/components/schemas/ApiInfo' 559 | metadata: 560 | type: object 561 | properties: 562 | stations: 563 | type: array 564 | items: 565 | $ref: '#/components/schemas/StationMetadata' 566 | reading_type: 567 | $ref: '#/components/schemas/ReadingTypeMetadata' 568 | reading_unit: 569 | $ref: '#/components/schemas/ReadingUnitMetadata' 570 | items: 571 | type: array 572 | description: Array of items 573 | items: 574 | type: object 575 | properties: 576 | timestamp: 577 | type: string 578 | format: date-time 579 | description: Timestamp of reading 580 | readings: 581 | type: array 582 | items: 583 | type: object 584 | properties: 585 | station_id: 586 | type: string 587 | value: 588 | type: number 589 | default: 590 | $ref: '#/components/responses/Error' 591 | /environment/relative-humidity: 592 | get: 593 | summary: Get relative humidity readings across Singapore 594 | description: | 595 | - Has per-minute readings from NEA 596 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 597 | - Use the `date` parameter to retrieve all of the readings for that day. 598 | tags: 599 | - Environment 600 | parameters: 601 | - name: date_time 602 | in: query 603 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 604 | required: false 605 | schema: 606 | type: string 607 | - name: date 608 | in: query 609 | description: YYYY-MM-DD 610 | required: false 611 | schema: 612 | type: string 613 | responses: 614 | '200': 615 | description: Relative Humidity Information 616 | content: 617 | application/json: 618 | schema: 619 | type: object 620 | properties: 621 | api_info: 622 | $ref: '#/components/schemas/ApiInfo' 623 | metadata: 624 | type: object 625 | properties: 626 | stations: 627 | type: array 628 | items: 629 | $ref: '#/components/schemas/StationMetadata' 630 | reading_type: 631 | $ref: '#/components/schemas/ReadingTypeMetadata' 632 | reading_unit: 633 | $ref: '#/components/schemas/ReadingUnitMetadata' 634 | items: 635 | type: array 636 | description: Array of items 637 | items: 638 | type: object 639 | properties: 640 | timestamp: 641 | type: string 642 | format: date-time 643 | description: Timestamp of reading 644 | readings: 645 | type: array 646 | items: 647 | type: object 648 | properties: 649 | station_id: 650 | type: string 651 | value: 652 | type: number 653 | default: 654 | $ref: '#/components/responses/Error' 655 | /environment/wind-direction: 656 | get: 657 | summary: Get wind direction readings across Singapore 658 | description: | 659 | - Has per-minute readings from NEA 660 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 661 | - Use the `date` parameter to retrieve all of the readings for that day. 662 | tags: 663 | - Environment 664 | parameters: 665 | - name: date_time 666 | in: query 667 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 668 | required: false 669 | schema: 670 | type: string 671 | - name: date 672 | in: query 673 | description: YYYY-MM-DD 674 | required: false 675 | schema: 676 | type: string 677 | responses: 678 | '200': 679 | description: Wind Direction Information 680 | content: 681 | application/json: 682 | schema: 683 | type: object 684 | properties: 685 | api_info: 686 | $ref: '#/components/schemas/ApiInfo' 687 | metadata: 688 | type: object 689 | properties: 690 | stations: 691 | type: array 692 | items: 693 | $ref: '#/components/schemas/StationMetadata' 694 | reading_type: 695 | $ref: '#/components/schemas/ReadingTypeMetadata' 696 | reading_unit: 697 | $ref: '#/components/schemas/ReadingUnitMetadata' 698 | items: 699 | type: array 700 | description: Array of items 701 | items: 702 | type: object 703 | properties: 704 | timestamp: 705 | type: string 706 | format: date-time 707 | description: Timestamp of reading 708 | readings: 709 | type: array 710 | items: 711 | type: object 712 | properties: 713 | station_id: 714 | type: string 715 | value: 716 | type: number 717 | default: 718 | $ref: '#/components/responses/Error' 719 | /environment/wind-speed: 720 | get: 721 | summary: Get wind speed readings across Singapore 722 | description: | 723 | - Has per-minute readings from NEA 724 | - Use the `date_time` parameter to retrieve the latest available data at that moment in time 725 | - Use the `date` parameter to retrieve all of the readings for that day. 726 | tags: 727 | - Environment 728 | parameters: 729 | - name: date_time 730 | in: query 731 | description: YYYY-MM-DD[T]HH:mm:ss (SGT) 732 | required: false 733 | schema: 734 | type: string 735 | - name: date 736 | in: query 737 | description: YYYY-MM-DD 738 | required: false 739 | schema: 740 | type: string 741 | responses: 742 | '200': 743 | description: Wind Speed Information 744 | content: 745 | application/json: 746 | schema: 747 | type: object 748 | properties: 749 | api_info: 750 | $ref: '#/components/schemas/ApiInfo' 751 | metadata: 752 | type: object 753 | properties: 754 | stations: 755 | type: array 756 | items: 757 | $ref: '#/components/schemas/StationMetadata' 758 | reading_type: 759 | $ref: '#/components/schemas/ReadingTypeMetadata' 760 | reading_unit: 761 | $ref: '#/components/schemas/ReadingUnitMetadata' 762 | items: 763 | type: array 764 | description: Array of items 765 | items: 766 | type: object 767 | properties: 768 | timestamp: 769 | type: string 770 | format: date-time 771 | description: Timestamp of reading 772 | readings: 773 | type: array 774 | items: 775 | type: object 776 | properties: 777 | station_id: 778 | type: string 779 | value: 780 | type: number 781 | default: 782 | $ref: '#/components/responses/Error' 783 | /package_list: 784 | get: 785 | summary: Return a list of datasets on data.gov.sg 786 | description: 787 | tags: 788 | - CKAN 789 | parameters: 790 | - name: limit 791 | in: query 792 | 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) 793 | required: false 794 | schema: 795 | type: integer 796 | - name: offset 797 | in: query 798 | description: When limit is given, the offset to start returning packages from 799 | required: false 800 | schema: 801 | type: integer 802 | responses: 803 | '200': 804 | description: Dataset listing 805 | content: 806 | application/json: 807 | schema: 808 | allOf: 809 | - $ref: '#/components/schemas/CkanPackageList' 810 | - example: 811 | help: https://data.gov.sg/api/3/action/help_show?name=package_list 812 | success: true 813 | results: 814 | - gdp 815 | - population 816 | - water-consumption 817 | default: 818 | description: Error information 819 | content: 820 | application/json: 821 | schema: 822 | allOf: 823 | - $ref: '#/components/schemas/CkanError' 824 | - example: 825 | help: https://data.gov.sg/api/3/action/help_show?name=package_list 826 | success: false 827 | error: {} 828 | servers: 829 | - url: https://data.gov.sg/api/action 830 | /package_show: 831 | get: 832 | summary: Return the metadata of a dataset (package) and its resources 833 | description: 834 | tags: 835 | - CKAN 836 | parameters: 837 | - name: id 838 | in: query 839 | description: The id or name of the dataset 840 | required: true 841 | schema: 842 | type: string 843 | responses: 844 | '200': 845 | description: Dataset metadata 846 | content: 847 | application/json: 848 | schema: 849 | allOf: 850 | - $ref: '#/components/schemas/CkanPackageShow' 851 | - properties: 852 | help: 853 | example: https://data.gov.sg/api/3/action/help_show?name=package_show 854 | success: 855 | example: true 856 | default: 857 | description: Error information 858 | content: 859 | application/json: 860 | schema: 861 | allOf: 862 | - $ref: '#/components/schemas/CkanError' 863 | - example: 864 | help: https://data.gov.sg/api/3/action/help_show?name=package_show 865 | success: false 866 | error: {} 867 | servers: 868 | - url: https://data.gov.sg/api/action 869 | /resource_show: 870 | get: 871 | summary: Return the metadata of a resource 872 | description: 873 | tags: 874 | - CKAN 875 | parameters: 876 | - name: id 877 | in: query 878 | description: The id of the resource 879 | required: true 880 | schema: 881 | type: string 882 | responses: 883 | '200': 884 | description: Resource metadata 885 | content: 886 | application/json: 887 | schema: 888 | allOf: 889 | - $ref: '#/components/schemas/CkanResourceShow' 890 | - properties: 891 | help: 892 | example: https://data.gov.sg/api/3/action/help_show?name=resource_show 893 | success: 894 | example: true 895 | default: 896 | description: Error information 897 | content: 898 | application/json: 899 | schema: 900 | allOf: 901 | - $ref: '#/components/schemas/CkanError' 902 | - example: 903 | help: https://data.gov.sg/api/3/action/help_show?name=resource_show 904 | success: false 905 | error: {} 906 | servers: 907 | - url: https://data.gov.sg/api/action 908 | /datastore_search: 909 | get: 910 | summary: Search data in a resource 911 | description: 912 | tags: 913 | - CKAN 914 | parameters: 915 | - name: resource_id 916 | in: query 917 | description: ID or alias of the resource to be searched against 918 | required: true 919 | schema: 920 | type: string 921 | - name: limit 922 | in: query 923 | description: 'Maximum number of rows to return (optional, default: 100)' 924 | required: false 925 | schema: 926 | type: integer 927 | default: 100 928 | - name: offset 929 | in: query 930 | description: Offset this number of rows (optional) 931 | required: false 932 | schema: 933 | type: integer 934 | - name: fields 935 | in: query 936 | description: 'Fields to return (optional, default: all fields in original order)' 937 | required: false 938 | schema: 939 | type: string 940 | - name: filters 941 | in: query 942 | description: 'Dictionary of matching conditions, e.g {"key1": "a", "key2": "b"}' 943 | required: false 944 | schema: 945 | type: string 946 | - name: q 947 | in: query 948 | 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)' 949 | required: false 950 | schema: 951 | type: string 952 | - name: sort 953 | in: query 954 | description: 'Comma-separated field names with ordering, eg.: "fieldname1, fieldname2 desc"' 955 | required: false 956 | schema: 957 | type: string 958 | - name: records_format 959 | in: query 960 | 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' 961 | required: false 962 | schema: 963 | type: string 964 | enum: [objects, lists, csv] 965 | default: objects 966 | responses: 967 | '200': 968 | description: Fetched data 969 | content: 970 | application/json: 971 | schema: 972 | allOf: 973 | - $ref: '#/components/schemas/CkanDatastoreSearch' 974 | - example: 975 | help: https://data.gov.sg/api/3/action/help_show?name=datastore_search 976 | success: true 977 | result: 978 | resource_id: f9dbfc75-a2dc-42af-9f50-425e4107ae84 979 | fields: 980 | - type: numeric 981 | id: year 982 | - type: text 983 | id: level_1 984 | - type: numeric 985 | id: value 986 | records: 987 | - year: 1960 988 | level_1: Total Residents 989 | value: 1646400 990 | - year: 1960 991 | level_1: Total Male Residents 992 | value: 859600 993 | - year: 1960 994 | level_1: Total Female Residents 995 | value: 786800 996 | - year: 1961 997 | level_1: Total Residents 998 | value: 1646400 999 | - year: 1961 1000 | level_1: Total Male Residents 1001 | value: 859600 1002 | limit: 5 1003 | total: 870 1004 | _links: 1005 | start: /api/action/datastore_search?limit=5&resource_id=f9dbfc75-a2dc-42af-9f50-425e4107ae84 1006 | next: /api/action/datastore_search?offset=5&limit=5&resource_id=f9dbfc75-a2dc-42af-9f50-425e4107ae84 1007 | default: 1008 | description: Error information 1009 | content: 1010 | application/json: 1011 | schema: 1012 | allOf: 1013 | - $ref: '#/components/schemas/CkanError' 1014 | - example: 1015 | help: https://data.gov.sg/api/3/action/help_show?name=datastore_search 1016 | success: false 1017 | error: {} 1018 | servers: 1019 | - url: https://data.gov.sg/api/action 1020 | components: 1021 | schemas: 1022 | IposTrademarkApplications: 1023 | type: object 1024 | properties: 1025 | summary: 1026 | type: object 1027 | properties: 1028 | applicationNum: 1029 | description: >- 1030 | System number that auto generated which is unique to represent a 1031 | TM application number 1032 | type: string 1033 | filingDate: 1034 | description: Date that national application is filed/ Given by WIPO for IR case 1035 | type: string 1036 | format: date 1037 | internationalRegDate: 1038 | description: Date of International Registration given by WIPO 1039 | type: string 1040 | format: date 1041 | singaporeProtectionDate: 1042 | description: Given by WIPO for IR case 1043 | type: string 1044 | format: date 1045 | journals: 1046 | type: array 1047 | items: 1048 | type: object 1049 | properties: 1050 | journalNum: 1051 | description: Auto generated 1052 | type: string 1053 | journalDate: 1054 | description: Date that journal is published 1055 | type: string 1056 | format: date 1057 | journalStatus: 1058 | type: object 1059 | properties: 1060 | code: 1061 | type: string 1062 | description: 1063 | type: string 1064 | seriesMarkNum: 1065 | description: Series Marks - By default = 0 1066 | type: integer 1067 | disclaimerLimitation: 1068 | description: Limitation of goods/services 1069 | type: string 1070 | applicationType: 1071 | description: Application Type 1072 | type: string 1073 | tradeMarkType: 1074 | description: Trade Mark Type 1075 | type: string 1076 | descriptionPaticularFeatureOfMark: 1077 | description: Applicable for non-conventional mark 1078 | type: string 1079 | markStatus: 1080 | description: Mark Status 1081 | type: string 1082 | markStatusDate: 1083 | description: Date that the status should be updated 1084 | type: string 1085 | format: date 1086 | statusUpdateDate: 1087 | description: Date that the status is updated 1088 | type: string 1089 | format: date 1090 | registrationProcedureCompletionDate: 1091 | description: Date that the application is registered 1092 | type: string 1093 | format: date 1094 | expiryDate: 1095 | description: Date that the application is expired 1096 | type: string 1097 | format: date 1098 | publicationDate: 1099 | description: Date that the application is published 1100 | type: string 1101 | format: date 1102 | internationalRegistrationDesignatingSingaporeDetails: 1103 | type: object 1104 | properties: 1105 | irNum: 1106 | description: IR Number given by WIPO 1107 | type: string 1108 | irDate: 1109 | description: Given by WIPO 1110 | type: string 1111 | format: date 1112 | irNotificationDate: 1113 | description: Date that the IR was notified to Singapore 1114 | type: string 1115 | format: date 1116 | subsequentDesignationNum: 1117 | description: Auto generated number for each subsequent designation 1118 | type: integer 1119 | subsequentDesignationDate: 1120 | description: Date of Subsequent Designation (given by WIPO) 1121 | type: string 1122 | format: date 1123 | subesequentDesignationNotificationDate: 1124 | description: Date that the IR was notified to Singapore 1125 | type: string 1126 | format: date 1127 | internationalApplicationDetails: 1128 | type: object 1129 | properties: 1130 | IANum: 1131 | description: >- 1132 | System number that auto generated which is unique to represent an 1133 | IA number 1134 | type: string 1135 | IRNum: 1136 | description: IR Number given by WIPO 1137 | type: string 1138 | goodsAndServicesSpecifications: 1139 | description: Specification of Goods/Services 1140 | type: object 1141 | properties: 1142 | goodsServices: 1143 | description: Goods/Services 1144 | type: string 1145 | classNum: 1146 | description: 01-45 1147 | type: string 1148 | classStatus: 1149 | description: Class Status 1150 | type: object 1151 | properties: 1152 | code: 1153 | type: string 1154 | description: 1155 | type: string 1156 | priorityClaimsDetails: 1157 | type: object 1158 | description: Priority Claims Details 1159 | properties: 1160 | goodsAndServices: 1161 | description: Good and Services 1162 | type: string 1163 | classNum: 1164 | description: Class No 1165 | type: string 1166 | priorityClaimsDate: 1167 | description: Date when the priority is claimed. 1168 | type: string 1169 | format: date 1170 | country: 1171 | type: string 1172 | transformationApplicationMadridFrom: 1173 | description: Transformation Application under Madrid Protocol 1174 | type: array 1175 | items: 1176 | type: object 1177 | properties: 1178 | applicationNum: 1179 | description: Application Number 1180 | type: string 1181 | irNum: 1182 | description: IR Number given by WIPO 1183 | type: string 1184 | transformationApplicationMadridInto: 1185 | description: Transformation Application under Madrid Protocol 1186 | type: array 1187 | items: 1188 | type: object 1189 | properties: 1190 | applicationNum: 1191 | description: Application Number 1192 | type: string 1193 | classNum: 1194 | description: 01-45 1195 | type: string 1196 | dateOfProtection: 1197 | description: Given by WIPO for IR case 1198 | type: string 1199 | format: date 1200 | replacementApplicationMadridBy: 1201 | description: Replacement Application under Madrid Protocol 1202 | type: array 1203 | items: 1204 | type: object 1205 | properties: 1206 | applicationNum: 1207 | description: Application Number 1208 | type: string 1209 | irNum: 1210 | description: IR Number given by WIPO 1211 | type: string 1212 | classNum: 1213 | description: 01-45 1214 | type: string 1215 | replacementApplicationMadridReplaces: 1216 | description: Replacement Application under Madrid Protocol 1217 | type: array 1218 | items: 1219 | type: object 1220 | properties: 1221 | applicationNum: 1222 | description: Application Number 1223 | type: string 1224 | dateOfProtection: 1225 | description: Given by WIPO for IR case 1226 | type: string 1227 | format: date 1228 | classNum: 1229 | description: 01-45 1230 | type: string 1231 | goodsServices: 1232 | description: Affected goods and/or services 1233 | type: string 1234 | expiryDate: 1235 | description: Date that the application is expired 1236 | type: string 1237 | publicationDate: 1238 | description: Date that the application is published 1239 | type: string 1240 | format: date 1241 | priorityClaimsDetails: 1242 | type: array 1243 | description: Priority Claims Details 1244 | items: 1245 | type: object 1246 | properties: 1247 | goodsAndServices: 1248 | description: Good and Services 1249 | type: string 1250 | classNum: 1251 | description: Class No. 1252 | type: string 1253 | priorityClaimsDate: 1254 | description: Priority Claims Date 1255 | type: string 1256 | format: date 1257 | country: 1258 | description: Country 1259 | type: string 1260 | markClauses: 1261 | description: Mark Clauses entered by Examiners 1262 | type: array 1263 | items: 1264 | type: object 1265 | properties: 1266 | value: 1267 | type: string 1268 | markIndex: 1269 | description: Mark Index 1270 | type: object 1271 | properties: 1272 | wordsInMark: 1273 | description: Words in Mark entered by Mark Index Officer 1274 | type: string 1275 | descrOfDevice: 1276 | description: Device description entered by Mark Index Officer 1277 | type: string 1278 | enTransliteration: 1279 | description: English Translation entered by Mark Index Officer. 1280 | type: string 1281 | enTranslation: 1282 | description: English Translation entered by Mark Index Officer 1283 | type: string 1284 | currentApplicantProprietorDetails: 1285 | description: Current Applicant/Proprietor Details 1286 | type: array 1287 | items: 1288 | type: object 1289 | properties: 1290 | applicantType: 1291 | description: Type of applicant 1292 | type: object 1293 | properties: 1294 | code: 1295 | type: string 1296 | description: 1297 | type: string 1298 | uenCompanyCode: 1299 | description: UEN/Company Code generated by system/assigned by officer 1300 | type: string 1301 | name: 1302 | description: Name of applicant 1303 | type: string 1304 | address: 1305 | description: Address of applicant 1306 | type: string 1307 | countryOfIncorporationOrResidence: 1308 | description: Country of Incorporation/Residence 1309 | type: object 1310 | properties: 1311 | code: 1312 | type: string 1313 | description: 1314 | type: string 1315 | stateOfIncorporation: 1316 | description: State of Incorporation 1317 | type: object 1318 | properties: 1319 | code: 1320 | type: string 1321 | description: 1322 | type: string 1323 | nationality: 1324 | description: Nationality 1325 | type: object 1326 | properties: 1327 | code: 1328 | type: string 1329 | description: 1330 | type: string 1331 | soleproprietorPartnerName: 1332 | type: string 1333 | description: Sole Proprietor or Partner's Name 1334 | agentCorrespondenceDetails: 1335 | description: Agent/Correspondence Details 1336 | type: array 1337 | items: 1338 | type: object 1339 | properties: 1340 | representationType: 1341 | description: indicator to represent if represent as an agent 1342 | type: string 1343 | actionRepresenting: 1344 | description: Agent represent for which action 1345 | type: string 1346 | representativeName: 1347 | description: Representative or C/O Name 1348 | type: string 1349 | addressForServiceInSingapore: 1350 | description: Agent address 1351 | type: string 1352 | agent: 1353 | type: object 1354 | properties: 1355 | uenCompanyCode: 1356 | description: Agent UEN/ Company Code 1357 | type: string 1358 | name: 1359 | description: Agent Name 1360 | type: string 1361 | HMGcases: 1362 | type: array 1363 | items: 1364 | type: object 1365 | properties: 1366 | caseNum: 1367 | description: >- 1368 | HMG case number that are auto generated which is unique to 1369 | represent a HMG case 1370 | type: string 1371 | caseType: 1372 | type: object 1373 | description: Case Type 1374 | properties: 1375 | code: 1376 | type: string 1377 | description: 1378 | type: string 1379 | caseStatus: 1380 | description: >- 1381 | Opposition Status (Case Status) - Current Status of the case. 1382 | E.g. Pending Successfully, pending appeal period. 1383 | type: object 1384 | properties: 1385 | code: 1386 | type: string 1387 | description: 1388 | type: string 1389 | classNum: 1390 | description: Class number being opposed 1391 | type: string 1392 | lodgeDate: 1393 | type: string 1394 | format: date 1395 | logogramArticle6TerDetails: 1396 | description: Logogram/ Article 6 Ter Details 1397 | type: array 1398 | items: 1399 | type: object 1400 | properties: 1401 | applicationNum: 1402 | description: Application Number - System generated 1403 | type: string 1404 | applicationStatus: 1405 | description: Application Status 1406 | type: string 1407 | lodgementDate: 1408 | description: Date that logogram is sent to IPOS 1409 | type: string 1410 | format: date 1411 | name: 1412 | type: string 1413 | description: Organization Name 1414 | address: 1415 | description: Organization Address 1416 | type: string 1417 | license: 1418 | type: array 1419 | items: 1420 | type: object 1421 | properties: 1422 | isLicensor: 1423 | description: Licensor if value is true 1424 | type: boolean 1425 | isLicenseAgainstAllGoodsServices: 1426 | description: License to be recorded against all goods and/or services 1427 | type: boolean 1428 | particularsOfLicensorLicensee: 1429 | description: Particulars of Licensor/Licensee 1430 | type: object 1431 | properties: 1432 | licensorLicenseeName: 1433 | type: string 1434 | licensorLicenseeCode: 1435 | type: string 1436 | address: 1437 | type: string 1438 | representationType: 1439 | type: object 1440 | properties: 1441 | code: 1442 | type: string 1443 | description: 1444 | type: string 1445 | incorporationCountry: 1446 | type: object 1447 | properties: 1448 | code: 1449 | type: string 1450 | description: 1451 | type: string 1452 | residenceCountry: 1453 | type: object 1454 | properties: 1455 | code: 1456 | type: string 1457 | description: 1458 | type: string 1459 | detailsOfLicense: 1460 | type: string 1461 | licenseType: 1462 | description: License Type (Exclusive or Non-Exclusive License) 1463 | type: string 1464 | licenseStartDate: 1465 | description: Licence Start Date 1466 | type: string 1467 | format: date 1468 | licenseEndDate: 1469 | description: License End Date 1470 | type: string 1471 | format: date 1472 | licenseDetails: 1473 | description: 'Details of license to be registered, amended or terminated' 1474 | type: string 1475 | licenseRefNum: 1476 | description: Security interest ref. number 1477 | type: string 1478 | securityInterest: 1479 | type: object 1480 | properties: 1481 | securityInterestRefNum: 1482 | description: Security interest ref. no 1483 | type: string 1484 | lodgementDate: 1485 | description: Lodgement Date 1486 | type: string 1487 | format: date 1488 | grantorParticulars: 1489 | type: array 1490 | description: Particulars of Grantor 1491 | items: 1492 | type: object 1493 | properties: 1494 | grantorName: 1495 | type: string 1496 | description: Name of Grantor 1497 | grantorAddress: 1498 | type: string 1499 | description: Address of Grantor 1500 | granteeParticulars: 1501 | type: array 1502 | description: Particulars of Grantee 1503 | items: 1504 | type: object 1505 | properties: 1506 | granteeName: 1507 | type: string 1508 | description: Name of Grantee 1509 | granteeAddress: 1510 | type: string 1511 | description: Address of Grantee 1512 | securityInterestDetails: 1513 | description: >- 1514 | Details of Security Interest to be Registered, Amended or 1515 | Terminated 1516 | type: string 1517 | transferOfOwnership: 1518 | type: array 1519 | description: Transfer of Ownership 1520 | items: 1521 | type: object 1522 | properties: 1523 | currentApplicantProprietorDetails: 1524 | description: Details of Current Applicant/ Proprietor 1525 | type: object 1526 | properties: 1527 | code: 1528 | type: string 1529 | name: 1530 | type: string 1531 | address: 1532 | type: string 1533 | countryOfIncorporation: 1534 | type: string 1535 | subsequentApplicantProprietorDetails: 1536 | description: Details of Subsequent Applicant/ Proprietor 1537 | type: object 1538 | properties: 1539 | code: 1540 | type: string 1541 | name: 1542 | type: string 1543 | address: 1544 | type: string 1545 | countryOfIncorporation: 1546 | type: string 1547 | dateOfTransferOfOwnership: 1548 | description: Date of Transfer of Ownership 1549 | type: string 1550 | format: date 1551 | detailsOfTransferOfOwnershipToBeRegistered: 1552 | description: Details of Transfer of Ownership to be Registered 1553 | type: string 1554 | fullOrPartial: 1555 | description: Full/Partial transfer of ownership 1556 | type: string 1557 | documents: 1558 | type: array 1559 | items: 1560 | type: object 1561 | properties: 1562 | lodgementDate: 1563 | type: string 1564 | format: date 1565 | fileUrl: 1566 | type: string 1567 | docType: 1568 | type: object 1569 | properties: 1570 | code: 1571 | type: string 1572 | description: 1573 | type: string 1574 | IposPatentApplications: 1575 | type: object 1576 | properties: 1577 | summary: 1578 | type: object 1579 | properties: 1580 | applicationNum: 1581 | description: >- 1582 | System number that auto generated which is unique to represent a 1583 | patent application number 1584 | type: string 1585 | applicationStatus: 1586 | description: IP status for a patent. The code desciption is store in code table 1587 | type: string 1588 | applicationType: 1589 | description: Type of the application filed in singapore 1590 | type: string 1591 | filingDate: 1592 | description: FilingDate 1593 | type: string 1594 | format: date 1595 | lodgementDate: 1596 | description: Lodgement Date of the Request 1597 | type: string 1598 | format: date 1599 | titleOfInvention: 1600 | description: Title of Invention 1601 | type: string 1602 | ipc: 1603 | type: string 1604 | description: IPC Symbol 1605 | dateofPublication: 1606 | description: Date of the Application Section 27 Publication date. 1607 | type: string 1608 | format: date 1609 | publicationPatentNumForOldApplication: 1610 | description: >- 1611 | Publication Patent Num for old application Legacy Data Number ( 1612 | assigned after grant ) 1613 | type: string 1614 | inventors: 1615 | type: array 1616 | items: 1617 | type: object 1618 | properties: 1619 | name: 1620 | description: Name of Inventor 1621 | type: string 1622 | address: 1623 | description: >- 1624 | Inventor address, address details is stored in CM.Address table, 1625 | link with CM.Address.Id 1626 | type: string 1627 | countryOfResidence: 1628 | type: object 1629 | properties: 1630 | code: 1631 | description: Country code 1632 | type: string 1633 | description: 1634 | description: Country description 1635 | type: string 1636 | nationality: 1637 | description: Nationality 1638 | type: string 1639 | applicant: 1640 | type: array 1641 | items: 1642 | type: object 1643 | properties: 1644 | uenCompanyCode: 1645 | description: Code generated by system/assign by officer 1646 | type: string 1647 | name: 1648 | description: Name of applicant 1649 | type: string 1650 | address: 1651 | description: Applicant address 1652 | type: string 1653 | countryOfIncorporationOrResidence: 1654 | type: object 1655 | properties: 1656 | code: 1657 | description: Country code 1658 | type: string 1659 | description: 1660 | description: Country description 1661 | type: string 1662 | stateOfIncorporation: 1663 | type: object 1664 | properties: 1665 | code: 1666 | description: State code 1667 | type: string 1668 | description: 1669 | description: State description 1670 | type: string 1671 | nationality: 1672 | type: object 1673 | properties: 1674 | code: 1675 | description: Country code 1676 | type: string 1677 | description: 1678 | description: Country description 1679 | type: string 1680 | soleProprietorPartnerName: 1681 | description: Name of Partner 1682 | type: string 1683 | agentCorrespondenceDetails: 1684 | type: array 1685 | items: 1686 | type: object 1687 | properties: 1688 | representationType: 1689 | description: indicator to represent if represent as an agent 1690 | type: string 1691 | agent: 1692 | type: object 1693 | properties: 1694 | uenCompanyCode: 1695 | description: UEN/Agent code 1696 | type: string 1697 | name: 1698 | description: Agent name 1699 | type: string 1700 | actionRepresenting: 1701 | description: Agent represent for which action 1702 | type: string 1703 | representativeName: 1704 | description: Representative/care off name 1705 | type: string 1706 | addressForServiceInSingapore: 1707 | description: Agent address 1708 | type: string 1709 | declarationOfPriority: 1710 | type: array 1711 | items: 1712 | type: object 1713 | properties: 1714 | applicationNum: 1715 | description: Application numberPriorityApplnNum 1716 | type: string 1717 | country: 1718 | type: object 1719 | properties: 1720 | code: 1721 | description: Country code 1722 | type: string 1723 | description: 1724 | description: Country description 1725 | type: string 1726 | filingDate: 1727 | description: PriorityFilingDate 1728 | type: string 1729 | format: date 1730 | grantAndRenewal: 1731 | type: object 1732 | properties: 1733 | grantDate: 1734 | description: Grant Date 1735 | type: string 1736 | format: date 1737 | nextRenewalDate: 1738 | description: Next Renewal Due date 1739 | type: string 1740 | format: date 1741 | dateOfRenewal: 1742 | description: PF15/PF53 1743 | type: string 1744 | format: date 1745 | dateOfLastRenewal: 1746 | description: Renewal Record date 1747 | type: string 1748 | format: date 1749 | yearOfLastRenewal: 1750 | description: Renewal Record year 1751 | type: string 1752 | expiryDate: 1753 | description: Expiry date 1754 | type: string 1755 | format: date 1756 | divisionalParentofUKEUPatentNum: 1757 | description: >- 1758 | This is applicable to pre 1996 applications. This is identical to 1759 | XUK No. from Staff portal IP Master 1760 | type: string 1761 | dateOfGrantOfUKEUPatentNum: 1762 | description: >- 1763 | This is applicable to pre 1996 applications. This is identical to 1764 | XUK No. from Staff portal IP Master 1765 | type: string 1766 | format: date 1767 | dateOfIssueOfCertificateOfRegistrationInSingapore: 1768 | description: >- 1769 | This is applicable to pre 1996 applications. This is identical 1770 | to “Grant Date” from Staff portal IP Master 1771 | type: string 1772 | format: date 1773 | divisionalApplications: 1774 | type: array 1775 | items: 1776 | type: object 1777 | properties: 1778 | divisionalApplicationNum: 1779 | description: Application number for divisional application 1780 | type: string 1781 | divisionalApplicationLodgementDate: 1782 | description: Application Lodgement Date 1783 | type: string 1784 | format: date 1785 | parentApplicationNum: 1786 | description: Applicable for Divisional Application 1787 | type: string 1788 | parentFilingDateForDivisional: 1789 | description: Applicable for Divisional Application 1790 | type: string 1791 | format: date 1792 | PCTApplication: 1793 | type: array 1794 | items: 1795 | type: object 1796 | properties: 1797 | PCTApplicationNum: 1798 | description: PCT Application Num. 1799 | type: string 1800 | PCTPublicationNum: 1801 | description: Publication date of PCTPublication number of WIPO application 1802 | type: string 1803 | PCTPublicationDate: 1804 | description: Publication Date that WIPO published the application 1805 | type: string 1806 | format: date 1807 | PCTEntryDate: 1808 | description: PF37 Lodgement Date 1809 | type: string 1810 | format: date 1811 | dateOfPublicationOfEntryIntoNationalPhase: 1812 | description: Journal Date of Bibliographic Publication 1813 | type: string 1814 | format: date 1815 | PCTPriorityClaimed: 1816 | type: array 1817 | items: 1818 | type: object 1819 | properties: 1820 | applicationNum: 1821 | description: Application number 1822 | type: string 1823 | country: 1824 | type: object 1825 | properties: 1826 | code: 1827 | description: Country code 1828 | type: string 1829 | description: 1830 | description: Country description 1831 | type: string 1832 | filingDate: 1833 | description: Filing date 1834 | type: string 1835 | format: date 1836 | hmgStatus: 1837 | type: array 1838 | items: 1839 | type: object 1840 | properties: 1841 | caseNum: 1842 | type: string 1843 | lodgeDate: 1844 | type: string 1845 | format: date 1846 | caseStatus: 1847 | type: object 1848 | properties: 1849 | code: 1850 | type: string 1851 | description: 1852 | type: string 1853 | caseType: 1854 | type: object 1855 | properties: 1856 | code: 1857 | description: code 1858 | type: string 1859 | description: 1860 | description: description 1861 | type: string 1862 | otherEntries: 1863 | type: array 1864 | items: 1865 | type: object 1866 | properties: 1867 | events: 1868 | type: object 1869 | properties: 1870 | code: 1871 | description: Event code 1872 | type: string 1873 | description: 1874 | description: Event description 1875 | type: string 1876 | eventDate: 1877 | description: Event date 1878 | type: string 1879 | format: date 1880 | license: 1881 | type: array 1882 | items: 1883 | type: object 1884 | properties: 1885 | isLicensor: 1886 | type: boolean 1887 | particularsOfLicensorLicensee: 1888 | type: object 1889 | properties: 1890 | licensorlicenseeName: 1891 | type: string 1892 | licensorlicenseeCode: 1893 | type: string 1894 | address: 1895 | type: string 1896 | licenseType: 1897 | type: string 1898 | description: Licensee types 1899 | licenseStartDate: 1900 | type: string 1901 | description: License start date 1902 | format: date 1903 | licenseEndDate: 1904 | type: string 1905 | description: License end date 1906 | format: date 1907 | detailsOfLicenceToBeRegisteredAmendedOrTerminated: 1908 | type: string 1909 | description: 'Details of license to be registered, amended or terminated' 1910 | licenseReferenceNum: 1911 | type: string 1912 | description: License Reference Number 1913 | securityInterest: 1914 | type: array 1915 | items: 1916 | type: object 1917 | properties: 1918 | securityInterestRefNum: 1919 | type: string 1920 | lodgementDate: 1921 | type: string 1922 | format: date 1923 | grantorParticulars: 1924 | type: array 1925 | items: 1926 | type: object 1927 | properties: 1928 | grantorName: 1929 | type: string 1930 | grantorAddress: 1931 | type: string 1932 | securityInterestDetails: 1933 | type: string 1934 | description: >- 1935 | Details of Security Interest to be Registered, Amended or 1936 | Terminated 1937 | transferOfOwnership: 1938 | type: array 1939 | items: 1940 | type: object 1941 | properties: 1942 | currentApplicantProprietorDetails: 1943 | type: object 1944 | properties: 1945 | code: 1946 | type: string 1947 | name: 1948 | type: string 1949 | address: 1950 | type: string 1951 | countryOfIncorporation: 1952 | type: string 1953 | subsequentApplicantProprietorDetails: 1954 | type: object 1955 | properties: 1956 | code: 1957 | type: string 1958 | name: 1959 | type: string 1960 | address: 1961 | type: string 1962 | countryOfIncorporation: 1963 | type: string 1964 | dateOfTranferOfOwnership: 1965 | description: Date of Transfer of Ownership 1966 | type: string 1967 | format: date 1968 | rupka: 1969 | type: array 1970 | items: 1971 | type: object 1972 | properties: 1973 | xPatentNum: 1974 | description: Applicable for migrated data only 1975 | type: string 1976 | xukNum: 1977 | description: Applicable for migrated data only 1978 | type: string 1979 | xukrantDate: 1980 | description: Applicable for migrated data only 1981 | type: string 1982 | format: date 1983 | xGazetteNum: 1984 | description: Applicable for migrated data only 1985 | type: string 1986 | xGazetteDate: 1987 | description: Applicable for migrated data only 1988 | type: string 1989 | format: date 1990 | xIsSection261c: 1991 | description: Applicable for migrated data only 1992 | type: boolean 1993 | documents: 1994 | type: array 1995 | items: 1996 | type: object 1997 | properties: 1998 | lodgementDate: 1999 | description: Date of lodgement 2000 | type: string 2001 | format: date 2002 | fileId: 2003 | description: ID of file 2004 | type: string 2005 | fileName: 2006 | description: Name of file 2007 | type: string 2008 | fileUrl: 2009 | description: Url of file 2010 | type: string 2011 | docType: 2012 | type: object 2013 | properties: 2014 | code: 2015 | description: Document type code 2016 | type: string 2017 | description: 2018 | description: Document type description 2019 | type: string 2020 | IposDesignApplications: 2021 | type: object 2022 | properties: 2023 | summary: 2024 | type: object 2025 | properties: 2026 | applicationNum: 2027 | description: >- 2028 | System number that auto generated which is unique to represent a 2029 | DS application number 2030 | type: string 2031 | filingDate: 2032 | description: Date that national application is filed/ Given by WIPO for IR case 2033 | type: string 2034 | format: date 2035 | classSubClass: 2036 | description: Classification Code & Classification sub code 2037 | type: string 2038 | status: 2039 | description: IP status for a design 2040 | type: string 2041 | approvedDate: 2042 | description: Approved Date 2043 | type: string 2044 | ukDesignNum: 2045 | description: Unique number to represent a UK design application number 2046 | type: string 2047 | ukRegistrationDate: 2048 | description: Registration date of a UK design number 2049 | type: string 2050 | format: date 2051 | internationalRegistrationNum: 2052 | description: International Registration number 2053 | type: string 2054 | internationalRegistrationDate: 2055 | description: Filing date for the international registration application. 2056 | type: string 2057 | format: date 2058 | renewalDueDate: 2059 | description: >- 2060 | When renewal had been filed, this field will be updated to the 2061 | renewal date. Let say for for the first renewal, it is the date 2062 | after 5 years of filing date. 2063 | type: string 2064 | format: date 2065 | expiryDate: 2066 | description: >- 2067 | 25 years after filing date. The particular design will be expired 2068 | after this date. It consider a non-live design. 2069 | type: string 2070 | format: date 2071 | lodgementDate: 2072 | description: >- 2073 | Date that form get lodge regardless if fall in holiday or excluded 2074 | date. 2075 | type: string 2076 | format: date 2077 | applicants: 2078 | type: array 2079 | items: 2080 | type: object 2081 | properties: 2082 | uenCompanyCode: 2083 | description: UEN/Company Code generated by system/assigned by officer 2084 | type: string 2085 | name: 2086 | description: Name of applicant 2087 | type: string 2088 | address: 2089 | description: Address of applicant 2090 | type: string 2091 | countryOfIncorporationOrResidence: 2092 | description: Country of Incorporation/Residence 2093 | type: object 2094 | properties: 2095 | code: 2096 | type: string 2097 | description: 2098 | type: string 2099 | stateOfIncorporation: 2100 | description: State of Incorporation 2101 | type: object 2102 | properties: 2103 | code: 2104 | type: string 2105 | description: 2106 | type: string 2107 | nationality: 2108 | description: Nationality 2109 | type: object 2110 | properties: 2111 | code: 2112 | type: string 2113 | description: 2114 | type: string 2115 | soleproprietorPartnerName: 2116 | type: string 2117 | description: Sole Proprietor or Partner's Name 2118 | articles: 2119 | type: array 2120 | items: 2121 | type: object 2122 | properties: 2123 | numOfArticlesInSet: 2124 | description: Number of articles in the set 2125 | type: integer 2126 | articleName: 2127 | description: Article Name 2128 | type: string 2129 | TaxiLocations: 2130 | type: object 2131 | description: A GeoJSON representing the locations of available taxis in Singapore 2132 | properties: 2133 | type: 2134 | type: string 2135 | description: Determines the type of the GeoJSON object 2136 | crs: 2137 | type: object 2138 | description: The coordinate reference system used 2139 | features: 2140 | type: array 2141 | items: 2142 | type: object 2143 | properties: 2144 | geometry: 2145 | type: object 2146 | properties: 2147 | type: 2148 | type: string 2149 | enum: ['MultiPoint'] 2150 | coordinates: 2151 | type: array 2152 | items: 2153 | type: array 2154 | description: A position (longitude, latitude) 2155 | minItems: 2 2156 | maxItems: 2 2157 | items: 2158 | type: number 2159 | properties: 2160 | type: object 2161 | description: Additional meta-data from Data.gov.sg 2162 | properties: 2163 | timestamp: 2164 | type: string 2165 | description: Time of acquisition of data from LTA's Datamall 2166 | format: date-time 2167 | taxi_count: 2168 | type: integer 2169 | description: Total number of available taxis 2170 | ApiInfo: 2171 | type: object 2172 | description: Contains information about the API (from Data.gov.sg) 2173 | properties: 2174 | status: 2175 | type: string 2176 | enum: 2177 | - healthy 2178 | TrafficImages: 2179 | type: object 2180 | required: 2181 | - timestamp 2182 | - cameras 2183 | properties: 2184 | timestamp: 2185 | type: string 2186 | description: Time of acquisition of data from LTA's Datamall 2187 | format: date-time 2188 | cameras: 2189 | type: array 2190 | items: 2191 | type: object 2192 | description: Camera information and images 2193 | required: 2194 | - timestamp 2195 | - camera_id 2196 | - image_id 2197 | - image 2198 | - image_metadata 2199 | properties: 2200 | timestamp: 2201 | type: string 2202 | description: Time of image 2203 | format: date-time 2204 | camera_id: 2205 | type: number 2206 | description: Camera ID provided by LTA 2207 | image_id: 2208 | type: number 2209 | description: Image ID provided by LTA 2210 | image: 2211 | type: string 2212 | description: URL of image 2213 | image_metadata: 2214 | type: object 2215 | description: Metadata of the image file 2216 | required: 2217 | - height 2218 | - width 2219 | - md5 2220 | properties: 2221 | height: 2222 | type: number 2223 | description: Height of the image (pixels) 2224 | width: 2225 | type: number 2226 | description: Width of the image (pixels) 2227 | md5: 2228 | type: string 2229 | description: MD5 hash of image file 2230 | CarparkAvailability: 2231 | type: object 2232 | required: 2233 | - timestamp 2234 | - carpark_data 2235 | properties: 2236 | timestamp: 2237 | type: string 2238 | description: Time of acquisition of data 2239 | format: date-time 2240 | carpark_data: 2241 | type: array 2242 | items: 2243 | type: object 2244 | description: Carpark availability information per carpark 2245 | required: 2246 | - total_lots 2247 | - lot_type 2248 | - lots_available 2249 | properties: 2250 | total_lots: 2251 | type: string 2252 | description: Total number of carpark lots at 2253 | lot_type: 2254 | type: string 2255 | description: Type of carpark lot 2256 | lots_available: 2257 | type: string 2258 | description: Total number of available carpark lotss 2259 | Pm25Information: 2260 | type: object 2261 | properties: 2262 | update_timestamp: 2263 | type: string 2264 | description: Time of acquisition of data from NEA 2265 | format: date-time 2266 | timestamp: 2267 | type: string 2268 | description: Data timestamp 2269 | format: date-time 2270 | readings: 2271 | type: object 2272 | description: Regional hourly PM2.5 concentration 2273 | properties: 2274 | pm25_one_hourly: 2275 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2276 | PsiInformation: 2277 | type: object 2278 | properties: 2279 | update_timestamp: 2280 | type: string 2281 | description: Time of acquisition of data from NEA 2282 | format: date-time 2283 | timestamp: 2284 | type: string 2285 | description: Data timestamp 2286 | format: date-time 2287 | readings: 2288 | type: object 2289 | description: Overall and regional PSI data including pollutant concentrations and sub-indices 2290 | properties: 2291 | psi_twenty_four_hourly: 2292 | $ref: '#/components/schemas/ReadingByRegion' 2293 | psi_three_hourly: 2294 | $ref: '#/components/schemas/ReadingByRegion' 2295 | pm10_sub_index: 2296 | $ref: '#/components/schemas/ReadingByRegion' 2297 | pm25_sub_index: 2298 | $ref: '#/components/schemas/ReadingByRegion' 2299 | so2_sub_index: 2300 | $ref: '#/components/schemas/ReadingByRegion' 2301 | o3_sub_index: 2302 | $ref: '#/components/schemas/ReadingByRegion' 2303 | co_sub_index: 2304 | $ref: '#/components/schemas/ReadingByRegion' 2305 | pm10_twenty_four_hourly: 2306 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2307 | pm25_twenty_four_hourly: 2308 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2309 | no2_one_hour_max: 2310 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2311 | so2_twenty_four_hourly: 2312 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2313 | co_eight_hour_max: 2314 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2315 | o3_eight_hour_max: 2316 | $ref: '#/components/schemas/ConcentrationReadingByRegion' 2317 | ReadingByRegion: 2318 | type: object 2319 | properties: 2320 | national: 2321 | type: number 2322 | description: Reading for national reporting stations 2323 | north: 2324 | type: number 2325 | description: Reading for north region 2326 | south: 2327 | type: number 2328 | description: Reading for south region 2329 | east: 2330 | type: number 2331 | description: Reading for east region 2332 | west: 2333 | type: number 2334 | description: Reading for west region 2335 | central: 2336 | type: number 2337 | description: Reading for central region 2338 | ConcentrationReadingByRegion: 2339 | type: object 2340 | description: Concentration is measured in micrograms per cubic metre 2341 | properties: 2342 | national: 2343 | type: number 2344 | description: Reading for national reporting stations 2345 | north: 2346 | type: number 2347 | description: Reading for north region 2348 | south: 2349 | type: number 2350 | description: Reading for south region 2351 | east: 2352 | type: number 2353 | description: Reading for east region 2354 | west: 2355 | type: number 2356 | description: Reading for west region 2357 | central: 2358 | type: number 2359 | description: Reading for central region 2360 | RegionMetadataForPsiAndPm25: 2361 | type: array 2362 | description: Additional information on regions provided 2363 | items: 2364 | type: object 2365 | required: 2366 | - name 2367 | - label_location 2368 | properties: 2369 | name: 2370 | type: string 2371 | description: Name of the region 2372 | label_location: 2373 | type: object 2374 | description: Provides longitude and latitude for placing readings on a map 2375 | required: 2376 | - longitude 2377 | - latitude 2378 | properties: 2379 | longitude: 2380 | type: number 2381 | latitude: 2382 | type: number 2383 | AreaMetadata: 2384 | type: array 2385 | description: Additional information on areas provided 2386 | items: 2387 | type: object 2388 | required: 2389 | - name 2390 | - label_location 2391 | properties: 2392 | name: 2393 | type: string 2394 | description: Name of the area 2395 | label_location: 2396 | type: object 2397 | description: Provides longitude and latitude for placing readings on a map 2398 | required: 2399 | - longitude 2400 | - latitude 2401 | properties: 2402 | longitude: 2403 | type: number 2404 | latitude: 2405 | type: number 2406 | 2HourWeatherForecast: 2407 | type: object 2408 | properties: 2409 | update_timestamp: 2410 | type: string 2411 | description: Time of acquisition of data from NEA 2412 | format: date-time 2413 | timestamp: 2414 | type: string 2415 | description: Time forecast was issued by NEA 2416 | format: date-time 2417 | valid_period: 2418 | $ref: '#/components/schemas/ForecastValidPeriod' 2419 | forecasts: 2420 | type: array 2421 | description: Forecasts for various areas in Singapore 2422 | items: 2423 | type: object 2424 | required: 2425 | - area 2426 | - forecast 2427 | properties: 2428 | area: 2429 | type: string 2430 | forecast: 2431 | type: string 2432 | 24HourWeatherForecast: 2433 | type: object 2434 | required: 2435 | - update_timestamp 2436 | - timestamp 2437 | - valid_period 2438 | - general 2439 | - periods 2440 | properties: 2441 | update_timestamp: 2442 | type: string 2443 | description: Time of acquisition of data from NEA 2444 | format: date-time 2445 | timestamp: 2446 | type: string 2447 | description: Time forecast was issued by NEA 2448 | format: date-time 2449 | valid_period: 2450 | type: object 2451 | description: Period of time the forecast is valid for 2452 | required: 2453 | - start 2454 | - end 2455 | properties: 2456 | start: 2457 | type: string 2458 | format: date-time 2459 | end: 2460 | type: string 2461 | format: date-time 2462 | general: 2463 | type: object 2464 | description: A general weather forecast for the 24 hour period 2465 | required: 2466 | - forecast 2467 | - relative_humidity 2468 | - temperature 2469 | - wind 2470 | properties: 2471 | forecast: 2472 | type: string 2473 | relative_humidity: 2474 | type: object 2475 | description: Unit of measure - Percentage 2476 | required: 2477 | - low 2478 | - high 2479 | properties: 2480 | low: 2481 | type: number 2482 | high: 2483 | type: number 2484 | temperature: 2485 | type: object 2486 | description: Unit of measure - Degrees Celsius 2487 | required: 2488 | - low 2489 | - high 2490 | properties: 2491 | low: 2492 | type: number 2493 | high: 2494 | type: number 2495 | wind: 2496 | type: object 2497 | required: 2498 | - speed 2499 | - direction 2500 | properties: 2501 | speed: 2502 | type: object 2503 | description: Unit of measure - Kilometeres per hour 2504 | required: 2505 | - low 2506 | - high 2507 | properties: 2508 | low: 2509 | type: number 2510 | high: 2511 | type: number 2512 | direction: 2513 | type: string 2514 | periods: 2515 | type: array 2516 | description: Regional forecasts for 6/12 hour periods 2517 | items: 2518 | type: object 2519 | required: 2520 | - time 2521 | - regions 2522 | properties: 2523 | time: 2524 | $ref: '#/components/schemas/ForecastValidPeriod' 2525 | regions: 2526 | type: object 2527 | required: 2528 | - north 2529 | - south 2530 | - east 2531 | - west 2532 | - central 2533 | properties: 2534 | north: 2535 | type: string 2536 | description: Forecast for the north region of Singapore 2537 | south: 2538 | type: string 2539 | description: Forecast for the south region of Singapore 2540 | east: 2541 | type: string 2542 | description: Forecast for the east region of Singapore 2543 | west: 2544 | type: string 2545 | description: Forecast for the west region of Singapore 2546 | central: 2547 | type: string 2548 | description: Forecast for the central region of Singapore 2549 | ForecastValidPeriod: 2550 | type: object 2551 | description: Period of time the forecast is valid for 2552 | required: 2553 | - start 2554 | - end 2555 | properties: 2556 | start: 2557 | type: string 2558 | format: date-time 2559 | end: 2560 | type: string 2561 | format: date-time 2562 | 4DayWeatherForecast: 2563 | type: object 2564 | required: 2565 | - update_timestamp 2566 | - timestamp 2567 | - forecasts 2568 | properties: 2569 | update_timestamp: 2570 | type: string 2571 | description: Time of acquisition of data from NEA 2572 | format: date-time 2573 | timestamp: 2574 | type: string 2575 | description: Time forecast was issued by NEA 2576 | format: date-time 2577 | forecasts: 2578 | type: array 2579 | description: Chronologically ordered forecasts for the next 4 days 2580 | items: 2581 | type: object 2582 | required: 2583 | - date 2584 | - timestamp 2585 | - forecast 2586 | - temperature 2587 | - relative_humidity 2588 | - wind 2589 | properties: 2590 | date: 2591 | type: string 2592 | description: Forecast Date 2593 | timestamp: 2594 | type: string 2595 | format: date-time 2596 | description: Timestamp which indicates the start of the day 2597 | forecast: 2598 | type: string 2599 | description: Forecast summary for the day 2600 | relative_humidity: 2601 | type: object 2602 | description: Unit of measure - Percentage 2603 | required: 2604 | - low 2605 | - high 2606 | properties: 2607 | low: 2608 | type: number 2609 | high: 2610 | type: number 2611 | temperature: 2612 | type: object 2613 | description: Unit of measure - Degrees Celsius 2614 | required: 2615 | - low 2616 | - high 2617 | properties: 2618 | low: 2619 | type: number 2620 | high: 2621 | type: number 2622 | wind: 2623 | type: object 2624 | required: 2625 | - speed 2626 | - direction 2627 | properties: 2628 | speed: 2629 | type: object 2630 | description: Unit of measure - Kilometeres per hour 2631 | required: 2632 | - low 2633 | - high 2634 | properties: 2635 | low: 2636 | type: number 2637 | high: 2638 | type: number 2639 | direction: 2640 | type: string 2641 | UvIndexInformation: 2642 | type: object 2643 | required: 2644 | - update_timestamp 2645 | - timestamp 2646 | - index 2647 | properties: 2648 | update_timestamp: 2649 | type: string 2650 | description: Time of acquisition of data from NEA 2651 | format: date-time 2652 | timestamp: 2653 | type: string 2654 | format: date-time 2655 | index: 2656 | type: array 2657 | description: Reverse-chronologically ordered indexes 2658 | items: 2659 | type: object 2660 | required: 2661 | - timestamp 2662 | - value 2663 | properties: 2664 | timestamp: 2665 | type: string 2666 | description: Timestamp indicating the start of the hour for which the index is for 2667 | format: date-time 2668 | value: 2669 | type: number 2670 | description: UV index for the hour 2671 | StationMetadata: 2672 | type: object 2673 | properties: 2674 | id: 2675 | description: Stations's ID 2676 | type: string 2677 | device_id: 2678 | description: Reading Device's ID (usually same as Station's ID) 2679 | type: string 2680 | name: 2681 | description: Stations's name 2682 | type: string 2683 | location: 2684 | description: Location information for the station 2685 | type: object 2686 | required: 2687 | - longitude 2688 | - latitude 2689 | properties: 2690 | longitude: 2691 | type: number 2692 | latitude: 2693 | type: number 2694 | ReadingTypeMetadata: 2695 | type: string 2696 | description: Information about the reading 2697 | ReadingUnitMetadata: 2698 | type: string 2699 | description: Measurement unit for reading 2700 | Error: 2701 | type: object 2702 | required: 2703 | - code 2704 | - message 2705 | properties: 2706 | code: 2707 | type: integer 2708 | format: int32 2709 | message: 2710 | type: string 2711 | CkanBase: 2712 | type: object 2713 | required: 2714 | - help 2715 | - success 2716 | properties: 2717 | help: 2718 | type: string 2719 | description: URL that returns a help string for the API action 2720 | success: 2721 | type: boolean 2722 | description: Whether fetch is succesfully 2723 | CkanError: 2724 | allOf: 2725 | - $ref: '#/components/schemas/CkanBase' 2726 | - type: object 2727 | required: 2728 | - error 2729 | properties: 2730 | error: 2731 | type: object 2732 | description: Error type and description 2733 | CkanPackageList: 2734 | allOf: 2735 | - $ref: '#/components/schemas/CkanBase' 2736 | - type: object 2737 | required: 2738 | - result 2739 | properties: 2740 | result: 2741 | type: array 2742 | description: List of dataset names 2743 | items: 2744 | type: string 2745 | description: Package name 2746 | CkanPackageShow: 2747 | allOf: 2748 | - $ref: '#/components/schemas/CkanBase' 2749 | - type: object 2750 | required: 2751 | - result 2752 | properties: 2753 | result: 2754 | $ref: '#/components/schemas/CkanPackage' 2755 | CkanResourceShow: 2756 | allOf: 2757 | - $ref: '#/components/schemas/CkanBase' 2758 | - type: object 2759 | required: 2760 | - result 2761 | properties: 2762 | result: 2763 | $ref: '#/components/schemas/CkanResource' 2764 | CkanDatastoreSearch: 2765 | allOf: 2766 | - $ref: '#/components/schemas/CkanBase' 2767 | - type: object 2768 | required: 2769 | - result 2770 | properties: 2771 | result: 2772 | type: object 2773 | description: Resource 2774 | required: 2775 | - resource_id 2776 | - fields 2777 | - records 2778 | properties: 2779 | resource_id: 2780 | type: string 2781 | description: Resource id 2782 | fields: 2783 | type: array 2784 | description: Data fields 2785 | items: 2786 | type: object 2787 | description: Data field 2788 | records: 2789 | type: array 2790 | description: Data rows 2791 | items: 2792 | type: object 2793 | description: Data row in object format 2794 | limit: 2795 | type: integer 2796 | description: Limit for number of rows returned 2797 | total: 2798 | type: integer 2799 | description: Total number of rows 2800 | _links: 2801 | type: object 2802 | description: Pagination-related links 2803 | properties: 2804 | start: 2805 | type: string 2806 | description: Link back to first page 2807 | next: 2808 | type: string 2809 | description: Link to next page 2810 | CkanPackage: 2811 | type: object 2812 | description: Package object 2813 | properties: 2814 | id: 2815 | type: string 2816 | description: Dataset id 2817 | example: d1778088-f56a-4353-891f-21f803b2dad5 2818 | name: 2819 | type: string 2820 | description: Dataset name 2821 | example: resident-population-by-ethnicity-gender-and-age-group 2822 | title: 2823 | type: string 2824 | description: Displayed dataset name 2825 | example: Singapore Residents By Age Group, Ethnic Group And Gender, End June, Annual 2826 | description: 2827 | type: string 2828 | description: Dataset description 2829 | example: Data for 1970 and from 1980 onwards refer to Singapore residents (citizens and permanent residents). 2830 | topics: 2831 | type: array 2832 | description: Related topics 2833 | items: 2834 | type: string 2835 | example: 2836 | - society 2837 | frequency: 2838 | type: string 2839 | description: Update frequency 2840 | example: annual 2841 | url: 2842 | type: string 2843 | description: Reference url 2844 | example: http://www.tablebuilder.singstat.gov.sg/publicfacing/createDataTable.action?refId=315&exportType=csv 2845 | notes: 2846 | type: string 2847 | description: Additional notes 2848 | example: '' 2849 | license_title: 2850 | type: string 2851 | description: License of use 2852 | example: License not specified 2853 | num_resources: 2854 | type: integer 2855 | description: Number of resources in dataset 2856 | example: 2 2857 | resources: 2858 | type: array 2859 | description: List of resources 2860 | items: 2861 | $ref: '#/components/schemas/CkanResource' 2862 | groups: 2863 | type: array 2864 | description: Dataset categories 2865 | items: 2866 | $ref: '#/components/schemas/CkanGroup' 2867 | organizations: 2868 | type: array 2869 | description: Related organizations 2870 | items: '#/components/schemas/CkanOrganization' 2871 | tags: 2872 | type: array 2873 | description: Tags 2874 | items: '#/components/schemas/CkanTag' 2875 | CkanResource: 2876 | type: object 2877 | description: Resource object 2878 | properties: 2879 | package_id: 2880 | type: string 2881 | description: Dataset id 2882 | example: d1778088-f56a-4353-891f-21f803b2dad5 2883 | id: 2884 | type: string 2885 | description: Resource id 2886 | example: 2887 | f9dbfc75-a2dc-42af-9f50-425e4107ae84 2888 | name: 2889 | type: string 2890 | description: Resource name 2891 | example: Singapore Residents by Ethnic Group and Sex, End June, Annual 2892 | format: 2893 | type: string 2894 | description: Resource format 2895 | enum: [CSV, PDF, KML, SHP, API] 2896 | example: CSV 2897 | url: 2898 | type: string 2899 | description: Source url 2900 | 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 2901 | coverage_start: 2902 | type: string 2903 | description: Coverage start date 2904 | example: '1960-01-01' 2905 | coverage_end: 2906 | type: string 2907 | description: Coverage end date 2908 | example: '2017-12-31' 2909 | created: 2910 | type: string 2911 | description: Date created 2912 | example: '2015-10-28T13:16:34.917976' 2913 | last_modified: 2914 | type: string 2915 | description: Date last modified 2916 | example: '2017-11-16T23:03:38.718472' 2917 | fields: 2918 | type: array 2919 | description: Data fields 2920 | items: 2921 | $ref: '#/components/schemas/CkanField' 2922 | example: 2923 | - name: year 2924 | title: Year 2925 | type: datetime 2926 | sub_type: year 2927 | format: YYYY 2928 | - name: value 2929 | title: Number 2930 | type: numeric 2931 | sub_type: general 2932 | format: '' 2933 | CkanField: 2934 | type: object 2935 | description: Data field 2936 | properties: 2937 | name: 2938 | type: string 2939 | description: Field name 2940 | title: 2941 | type: string 2942 | description: Displayed field name 2943 | type: 2944 | type: string 2945 | description: Field type 2946 | sub_type: 2947 | type: string 2948 | description: Field sub type 2949 | format: 2950 | type: string 2951 | description: Date format 2952 | coordinate_system: 2953 | type: string 2954 | description: Coordinate system 2955 | CkanOrganization: 2956 | type: object 2957 | description: CKAN Organisation object 2958 | properties: 2959 | description: 2960 | type: string 2961 | description: Description of organisation 2962 | created: 2963 | type: string 2964 | description: Date created 2965 | example: '2015-10-28T13:16:34.917976' 2966 | title: 2967 | type: string 2968 | description: Organisation display name 2969 | example: "Accounting and Corporate Regulatory Authority" 2970 | name: 2971 | type: string 2972 | description: Organisation CKAN alias 2973 | example: "accounting-and-corporate-regulatory-authority" 2974 | is_organization: 2975 | type: boolean 2976 | description: '' 2977 | state: 2978 | type: string 2979 | description: State of organisation in CKAN 2980 | example: "active" 2981 | image_url: 2982 | type: string 2983 | description: URL to image of organisation logo 2984 | revision_id: 2985 | type: string 2986 | description: version id 2987 | type: 2988 | type: string 2989 | description: Type of organisation 2990 | id: 2991 | type: string 2992 | description: Organisation CKAN ID 2993 | approval_status: 2994 | type: string 2995 | description: Approval status for organisation 2996 | CkanGroup: 2997 | type: object 2998 | description: CKAN Group object 2999 | properties: 3000 | display_name: 3001 | type: string 3002 | description: Group Name 3003 | description: 3004 | type: string 3005 | description: Description of group 3006 | image_display_url: 3007 | type: string 3008 | description: URL to image of group's display image 3009 | title: 3010 | type: string 3011 | description: Group display name 3012 | id: 3013 | type: string 3014 | description: Group CKAN ID 3015 | name: 3016 | type: string 3017 | description: Group CKAN alias 3018 | CkanTag: 3019 | type: object 3020 | description: CKAN Tag object 3021 | properties: 3022 | vocabulary_id: 3023 | type: string 3024 | description: Tag ID 3025 | state: 3026 | type: string 3027 | description: State of tag in CKAN 3028 | display_name: 3029 | type: string 3030 | description: Tag Name 3031 | id: 3032 | type: string 3033 | description: Tag CKAN ID 3034 | name: 3035 | type: string 3036 | description: Tag CKAN alias 3037 | 3038 | responses: 3039 | Error: 3040 | description: Error information 3041 | content: 3042 | application/json: 3043 | schema: 3044 | $ref: '#/components/schemas/Error' 3045 | --------------------------------------------------------------------------------