openactive / implementation-tracker

Activation Issue Tracker for OpenActive Implementations
1 stars 2 forks source link

Active Places #72

Closed nickevansuk closed 1 year ago

nickevansuk commented 7 years ago
{
  "items": [
    {
      "state": "update",
      "kind": "site",
      "id": "1000001",
      "modified": 260335,
      "data": {
        "Id": 1000001,
        "RowVersion": 260335,
        "Name": "THE ACADEMY (HARROGATE)",
        "OutputAreaCode": "E00141178",
        "ParliamentaryConstituencyCode": "E14000730",
        "ParliamentaryConstituencyName": "Harrogate and Knaresborough",
        "RegionCode": "E15000003",
        "RegionName": "Yorkshire and the Humber",
        "WardCode": "E05006266",
        "WardName": "Saltergate",
        "LocalAuthorityCode": "E07000165",
        "LocalAuthorityName": "Harrogate",
        "Easting": 429235.3,
        "Northing": 456123.5,
        "Latitude": 54.000321,
        "Longitude": -1.555495,
        "PlotAccuracy": null,
        "SubBuildingName": "",
        "BuildingName": "",
        "BuildingNumber": 0,
        "DependentThoroughfare": "",
        "ThoroughfareName": "Oakdale Place",
        "DoubleDependentLocality": "",
        "DependentLocality": "",
        "PostTown": "Harrogate",
        "Postcode": "HG1 2LA",
        "TOID": "",
        "UPRN": null,
        "HasCarPark": true,
        "CarParkCapacity": 162,
        "ManagementType": "Commercial Management",
        "ManagementGroup": "Commercial",
        "OwnerType": "Commercial",
        "OwnerGroup": "Commercial",
        "EducationPhase": "Not applicable",
        "CreatedOn": "2004-05-18T00:52:42",
        "AuditedOn": "2017-01-18T12:04:16",
        "CheckedOn": "2017-01-18T12:04:16",
        "StartDate": null,
        "ClosureDate": null,
        "ClosureReason": "",
        "Comments": [],
        "Aliases": [
          {
            "Name": "THE ACADEMY LTD"
          }
        ],
        "Equipment": [],
        "Contacts": [
          {
            "Id": 1360,
            "ContactType": "Enquiries",
            "Title": null,
            "Forename": null,
            "Surname": null,
            "Designation": null,
            "Email": "info@theacademy.co.uk",
            "Telephone": "01423 524052",
            "Website": "http://www.theacademy.co.uk"
          }
        ],
        "Clubs": [],
        "Facilities": [
          {
            "Id": 2009705,
            "FacilityType": "Swimming Pool",
            "FacilitySubType": "Main/General",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": true,
            "YearRefurbished": 2009,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Area",
                "Value": "157.5"
              },
              {
                "Key": "Diving boards",
                "Value": "0"
              },
              {
                "Key": "Lanes",
                "Value": "4"
              },
              {
                "Key": "Length",
                "Value": "17.5"
              },
              {
                "Key": "Maximum depth",
                "Value": "1.5"
              },
              {
                "Key": "Minimum depth",
                "Value": "1.5"
              },
              {
                "Key": "Movable floor",
                "Value": "0"
              },
              {
                "Key": "Width",
                "Value": "9"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": false,
                "EmergencyExits": true
              }
            }
          },
          {
            "Id": 2014777,
            "FacilityType": "Health and Fitness Suite",
            "FacilitySubType": "Health and Fitness Suite",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": true,
            "YearRefurbished": 2014,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Stations",
                "Value": "53"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": true,
                "EmergencyExits": true
              }
            }
          },
          {
            "Id": 2021593,
            "FacilityType": "Indoor Tennis Centre",
            "FacilitySubType": "Traditional",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": true,
            "YearRefurbished": 2011,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Courts",
                "Value": "4"
              },
              {
                "Key": "Surface type",
                "Value": "Textile"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": false,
                "EmergencyExits": true
              }
            }
          },
          {
            "Id": 4000001,
            "FacilityType": "Studio",
            "FacilitySubType": "Studio",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": true,
            "YearRefurbished": 2002,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Area",
                "Value": "90"
              },
              {
                "Key": "Area estimate",
                "Value": "1"
              },
              {
                "Key": "Length",
                "Value": "10"
              },
              {
                "Key": "Studios",
                "Value": "1"
              },
              {
                "Key": "Width",
                "Value": "9"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": false,
                "EmergencyExits": true
              }
            }
          },
          {
            "Id": 4000002,
            "FacilityType": "Studio",
            "FacilitySubType": "Studio",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": false,
            "YearRefurbished": 0,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Area",
                "Value": "120"
              },
              {
                "Key": "Area estimate",
                "Value": "1"
              },
              {
                "Key": "Length",
                "Value": "12"
              },
              {
                "Key": "Studios",
                "Value": "1"
              },
              {
                "Key": "Width",
                "Value": "10"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": false,
                "EmergencyExits": true
              }
            }
          },
          {
            "Id": 4103925,
            "FacilityType": "Tennis Courts",
            "FacilitySubType": "Tennis Courts",
            "Accessibility": "Registered Membership use",
            "Status": "Operational",
            "StatusNotes": null,
            "ManagementType": "Commercial Management",
            "ManagementGroup": "Commercial",
            "AccessibilityGroup": "Public Access",
            "YearBuilt": 1994,
            "IsRefurbished": true,
            "YearRefurbished": 2008,
            "HasChangingRooms": true,
            "AreChangingRoomsRefurbished": true,
            "YearChangingRoomsRefurbished": 2008,
            "TimingsType": "Detailed Timings",
            "CreatedOn": null,
            "CheckedOn": "2017-01-18T12:04:16",
            "StartDate": null,
            "OpeningDate": null,
            "ClosureDate": null,
            "ClosureReason": "",
            "Comments": [],
            "OpeningTimes": [
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Monday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Tuesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Wednesday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "22:00",
                "PeriodOpenFor": "Thursday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "06:30",
                "ClosingTime": "21:00",
                "PeriodOpenFor": "Friday",
                "YearPart": 1
              },
              {
                "AccessDescription": "Registered Membership use",
                "OpeningTime": "08:00",
                "ClosingTime": "20:00",
                "PeriodOpenFor": "Weekend",
                "YearPart": 1
              }
            ],
            "FacilitySpecifics": [
              {
                "Key": "Courts",
                "Value": "3"
              },
              {
                "Key": "Floodlit",
                "Value": "1"
              },
              {
                "Key": "Surface type",
                "Value": "Artificial grass"
              }
            ],
            "Disability": {
              "Access": true,
              "Notes": null,
              "Equipped": {
                "Parking": true,
                "FindingReachingEntrance": true,
                "ReceptionArea": true,
                "Doorways": true,
                "ChangingFacilities": true,
                "ActivityAreas": true,
                "Toilets": true,
                "SocialAreas": true,
                "SpectatorAreas": true,
                "EmergencyExits": true
              }
            }
          }
        ],
        "Disability": {
          "Access": true,
          "Notes": "Pool Hoist.",
          "Equipped": {
            "Parking": true,
            "FindingReachingEntrance": true,
            "ReceptionArea": true,
            "Doorways": true,
            "ChangingFacilities": true,
            "ActivityAreas": true,
            "Toilets": true,
            "SocialAreas": true,
            "SpectatorAreas": true,
            "EmergencyExits": true
          }
        }
      }
    }
   ]
}
nickevansuk commented 7 years ago

This looks good, one issue outstanding:

We're about to draft a new version of the standard, so to keep this in line with that (so that you're ahead of this), please also add a license to each page as follows:

{
  "next": null,
  "items": [
    {
      ...
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}

This will license the content as open data under CC BY v4.

See the issue in the main spec for more info: https://github.com/openactive/realtime-paged-data-exchange/issues/34

nickevansuk commented 7 years ago

For arrays representing key value pairs, it would be clearer that the keys are reliable to code against (rather than entered by the user) if they are represented as a map rather than an array. I understand that the keys are not customisable by the user, and are predefined. So this example:

"FacilitySpecifics": [
              {
                "Key": "Area",
                "Value": "157.5"
              },
              {
                "Key": "Diving boards",
                "Value": "0"
              },
              {
                "Key": "Lanes",
                "Value": "4"
              },
              {
                "Key": "Length",
                "Value": "17.5"
              },
              {
                "Key": "Maximum depth",
                "Value": "1.5"
              },
              {
                "Key": "Minimum depth",
                "Value": "1.5"
              },
              {
                "Key": "Movable floor",
                "Value": "0"
              },
              {
                "Key": "Width",
                "Value": "9"
              }
            ]

Should instead be:

"FacilitySpecifics": {
   "area": "157.5",
   "divingBoards": "0",
   "lanes": "4",
   "length": "17.5",
   "maximumDepth": "1.5",
   "minimumDepth": "1.5",
   "movableFloor": "0",
   "width": "9"
}

Where keys are only present if they are relevant to that particular facility.