Skip to content

Misconfigured attribute in Open311 service definition [Divvy Bike Parking Complaint] #16

@zbeat

Description

@zbeat

Summary:
The Divvy Bike Parking Complaint service is currently misconfigured in the Chicago Open311 API. 1 of the 6 defined attributed is missing a unique ID (code field in the JSON). Aside from applications using that ID to keep the attribute in sync, the primary use of that ID is for submitting attribute values (answers to this question) during request submission. And since this attribute is set to required, anyone submissions will fail with the error Attribute required.

  1. From GET Service List, here is the snippet for Divvy Bike Parking Complaint service:
  {
    "service_code": "5e474265524640504963dddc",
    "service_name": "Divvy Bike Parking Complaint",
    "description": "Used to report improperly parked Divvy bike, so it can be retrieved and/or corrected by the Divvy Operator.",
    "metadata": true,
    "type": "batch",
    "keywords": "code:DBPC",
    "group": "Outside Agencies"
  }
  1. From GET Service Definition, here is the snippet for the Is this the first time reporting this bike being improperly parked? attribute (question):
{
  "service_code": "5e474265524640504963dddc",
  "attributes": [{
    "variable": true,
    "datatype": "singlevaluelist",
    "required": true,
    "order": 2,
    "description": "Is this the first time reporting this bike being improperly parked?",
    "values": [{
      "key": "Yes",
      "name": "Yes"
    }, {
      "key": "No",
      "name": "No"
    }]
  }]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions